Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

When the compiler cannot differentiate between two overloaded constructors, they are called
A:
overloaded
B:
destructed
C:
ambiguous
D:
dubious
Answer: C
No answer description is available. Let's discuss.
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?
A:
char function(double d, char c)
B:
int function(int d, char c)
C:
both (a) and (b)
D:
neither (a) nor (b)
Answer: B
No answer description is available. Let's discuss.
A function that changes the state of the cout object is called a(n) _____
A:
member
B:
adjuster
C:
manipulator
D:
operator
Answer: C
No answer description is available. Let's discuss.
Which of the following are valid characters for a numeric literal constant?
A:
a comma
B:
a dollar sign ($)
C:
a percent sign (%)
D:
a space
Answer: E
No answer description is available. Let's discuss.
Evaluate the following expression: 3 >6&&7>4
A:
True
B:
False
C:
D:
Answer: B
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz