Object Oriented Programming Using C Plus Plus - Study Mode

[#306] Programmer-defined functions can be
Correct Answer

(C) either value-returning or void functions

[#307] A class D can be derived from a class C, which is derived from a class B, which is derived from a class A
Correct Answer

(A) True

[#308] To use the strcpy function, you must include the _____ header file in your program
Correct Answer

(C) string.h

[#309] The number of the relational operators in the C language is
Correct Answer

(B) six

[#310] Which of the following tells C++ to display numbers with two decimal places?
Correct Answer

(D) setprecision(2)