Before a variable in C++ is used, it must be
a. defined
b. initialized
c. used in some expression
d. begin with a capital letter
e. contain only letters, digits and underscores.
a) defined.
You might also like to view...
Given the following code fragment, what is the final value of y?
int x, y; x = -1; y = 0; while(x <= 3) { y += 2; x += 1; } a. 2 b. 10 c. 6 d. 8
Review the interview summaries in Chapter 2. For each person (Marie, Martin, Phil, Alice, and Joe), develop three additional questions: an open-ended question, a closed-ended question, and a range-of-response question.
What will be an ideal response?
A searching algorithm that’s O(1)________.
a. requires one comparison b. does not necessarily require only one comparison c. can search only an array of one item. d. None of the above.
A preview of the page borders of a document show where?
A) at the top of the Borders dialog box B) on the left side of the Borders and Shading dialog box C) on the right side of the Borders and Shading dialog box D) on the right side of the Borders dialog box