Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

"C++" is a _____ constant
A:
character literal
B:
named literal
C:
numeric literal
D:
string literal
Answer: D
No answer description is available. Let's discuss.
The scope resolution operator is
A:
a comma
B:
a semicolon
C:
a colon
D:
two colons
Answer: D
No answer description is available. Let's discuss.
When a function includes a throw statement for errors, the call to the potentially offending function should be placed within a _____ block
A:
throw
B:
try
C:
catch
D:
scope
Answer: B
No answer description is available. Let's discuss.
In a class specifier, data or functions designated private are accessible
A:
to any function in the program
B:
only if you know the password
C:
to member functions of that class
D:
only to public members of the class
Answer: C
No answer description is available. Let's discuss.
In which statements, does a 'continue' statements cause the control to go directly to the test condition and then continue the looping process?
A:
'for' and 'while'
B:
'while' and 'if-else'
C:
'do-while' and 'if-else'
D:
'while' and 'do-while'
Answer: D
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz