Object Oriented Programming Using C Plus Plus - Study Mode

[#226] A C++ program contains a function with the header int function(double d, char c). Which of the following function headers could be used within the same program?
Correct Answer

(B) int function(int d, char c)

[#227] The feature that allows you to use the same function name for separate functions that have different argument lists is called _____
Correct Answer

(B) overloading

[#228] Which of the following are valid characters constants?
Correct Answer

(D) All of the above

[#229] With a template class, _____ type is generic
Correct Answer

(C) at least one

[#230] If you want to use a class to define objects in many different programs, you should define the class in a C++ _____ file
Correct Answer

(A) header