Object Oriented Programming Using C Plus Plus - Study Mode

[#361] Evaluate the following expression: 7 >=3 + 4 || 6<4 && 2<5
Correct Answer

(A) True

[#362] The data type listed at the beginning of a value-returning function's header indicates the type of data the function will _____
Correct Answer

(A) return

[#363] The code class Descendant : virtual public Ancestor indicates that
Correct Answer

(B) the members of Ancestor will be included only once in Descendant

[#364] Which of the following formulas can be used to generate random integers between 1 and 10?
Correct Answer

(A) 1 + rand() % (10 - 1 + 1)

[#365] Format flags may be combined using the _____
Correct Answer

(A) bitwise OR operator(|)