Object Oriented Programming Using C Plus Plus - Study Mode
[#491] Which of the following while clause will stop the loop when the value in the age variable is less than the number 0?
Correct Answer
while age < 0
[#492] Which of the following calls a function named displayName, passing it no actual arguments?
Correct Answer
(D) displayName()
[#493] The last statement in a value-returning function is always _____
Correct Answer
(D) return expression
[#494] Which of the following declares and initializes an Integer variable named numltems?
Correct Answer
(A) int numltems = 0
[#495] Which of the following statements will create and initialize a feelnfo array named fee?
Correct Answer
fee feeInfo = {{0}, {0}}