Computer Science - Object Oriented Programming Using C++

46. 

To include the double quotes as part of the control string we use the symbol

A. %"
B. ""
C. \"
D. #
E. None of the above

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

47. 

A C++ statement must end in a

A. : (column)
B. , (comma)
C. . (period)
D. ; (semicolon)

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

48. 

Student senior(); is a(n)_________

A. constructor call with no arguments
B. object instantiation
C. constructor call with all default arguments
D. prototype for a function that returns a student object

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

49. 

The statement int n[4] = {11, -13, 17, 105};

A. assigns the value -13 to [2]
B. assigns the value 17 to n[2]
C. is wrong; it gives an error message
D. assigns the value 18 to n[2]

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

« Prev   1 2 3 4 5 6 7 8 9 10