Which of the following while clause will stop the loop when the value in the age variable is less than the number 0?
A. while age < 0
B. while (age < 0)
C. while age >= 0;
D. while (age >= 0);
E. while (age >= 0)
Answer: Option E
Related Questions on Object Oriented Programming Using C Plus Plus
A. all thrown objects
B. no thrown objects
C. any thrown object that has not been caught by an earlier catch block
D. all thrown objects that have been caught by an earlier catch block
Format flags may be combined using
A. the bitwise OR operator (|)
B. the logical OR operator (||)
C. the bitwise AND operator (&)
D. the logical AND operator (&&)
E. None of the above
Join The Discussion