Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

The preprocessor directive always ends with
A:
a comma
B:
a semicolon
C:
neither a semicolon nor a comma
D:
"/"
Answer: C
No answer description is available. Let's discuss.
Before object-oriented exception handling was practiced, _____
A:
no run-time errors occurred
B:
programmers could not deal with run-time errors
C:
the most popular error-handling method was to terminate the program
D:
the most popular error-handling method was to throw an exception
Answer: C
No answer description is available. Let's discuss.
A C++ term meaning "generic" is
A:
argument
B:
parameterized
C:
universal
D:
global
Answer: B
No answer description is available. Let's discuss.
Library header files usually contain
A:
complete functions
B:
parts of functions
C:
function prototypes for functions stored in other files
D:
function bodies, but not function headers
Answer: C
No answer description is available. Let's discuss.
The string HELLO WORLD needs
A:
11 bytes
B:
12 bytes
C:
10 Bytes
D:
8 bytes
Answer: A
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz