Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

The expression c = i++ causes
A:
the value of i assigned to c and then i incremented by 1
B:
i to be incremented by 1 and then the value of i assigned to c
C:
value of i assigned to c
D:
i to be incremented by 1
Answer: A
No answer description is available. Let's discuss.
Which of the following are never inherited?
A:
public data members
B:
constructor functions
C:
void functions
D:
overloaded + operators
Answer: B
No answer description is available. Let's discuss.
Assume that a program includes the short *agePtr = NULL; statement. The name of the pointer is _____
A:
*agePtr
B:
agePtr
C:
D:
Answer: B
No answer description is available. Let's discuss.
The type of value that a function sends back to the function that calls it is known as its _____
A:
type
B:
return value
C:
reference data
D:
sentinel
Answer: B
No answer description is available. Let's discuss.
With commercial classes, the function source code is usually________
A:
printed on high-quality paper
B:
poorly written
C:
provided on a disk
D:
provided in object form
Answer: D
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz