Which of the following statements increments the intNum variable's value by 2?
A. intNum = intNum - 2
B. intNum -= 2
C. intNum += 2
D. intNum ++ 2
Answer: C
Computer Science & Information Technology
You might also like to view...
We take a sample of adults and measure their heights. If we record the gender of each person, we can calculate the average height and the variance of the height, separately, for men and women. Suppose, however, that this informa- tion was not recorded. Would it be possible to still obtain this information? Explain.
What will be an ideal response?
Computer Science & Information Technology
Which network topology offers the greatest level of fault tolerance?
A. bus B. ring C. star D. mesh
Computer Science & Information Technology