Object Oriented Programming Using C Plus Plus - Study Mode
[#471] Which of the following statements will display the word "Hello" on the computer screen?
Correct Answer
(C) cout << "Hello"
[#472] Which of the following will store the number 320000 as a Float number?
Correct Answer
(A) counPop = (float) 3.2e5
[#473] Which of the following statements will assign the address of the age variable to the agePtr pointer?
Correct Answer
(A) agePtr = &age
[#474] A variable w with a value 67 may be defined with _______
Correct Answer
(D) both (a) and (b), but not (c)
[#475] The statement int num[2][3]={{3,8,6}, {9,4,7}}
Correct Answer
(B) assigns a value 7 to num[1][2]