Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

The cout << sales[0] + sales[1]; statement will______
A:
display 22000
B:
display 10000 + 12000
C:
display sales[0] + sales[l]
D:
result in an error
Answer: A
No answer description is available. Let's discuss.
The number of structures than can be declared in a single statement is
A:
one
B:
two
C:
three
D:
unlimited
Answer: D
No answer description is available. Let's discuss.
The null character needs a space of
A:
zero bytes
B:
one byte
C:
three bytes
D:
four bytes
Answer: B
No answer description is available. Let's discuss.
You may override the class access specifier for_____
A:
public members
B:
public and protected members
C:
any specific class members you choose
D:
no clas smembers
Answer: C
No answer description is available. Let's discuss.
The function whose prototype is void getData(Item *thing); receives
A:
a pointer to a structure
B:
a reference to a structure
C:
a copy of a structure
D:
nothing
Answer: A
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz