Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

A member function uses the correct object when you call it because
A:
a copy of the object is passed to the function
B:
the address of the object is passed to the function
C:
the address of the function is passed to another function
D:
the address of the object is returned from the function
Answer: B
No answer description is available. Let's discuss.
One way pointers are useful is to refer to a memory address that has no _____
A:
name
B:
constant
C:
location
D:
field
Answer: A
No answer description is available. Let's discuss.
You typically initialize Character variables to _____
A:
a space enclosed in double quotes
B:
a space enclosed in single quotes
C:
the letter O
D:
the number 0
Answer: B
No answer description is available. Let's discuss.
You___________overload function templates
A:
may, as long as each version has the same arguments
B:
may, as long as each version has different arguments
C:
must
D:
must not
Answer: B
No answer description is available. Let's discuss.
Overloading involves writing two or more functions with ________
A:
different names and different argument lists
B:
different names and the same argument list
C:
the same name and different argument lists
D:
the same name and the same argument list
Answer: C
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz