Computer Science - Object Oriented Programming Using C++

11.
A function's purpose is to print customer data. Which of the following is the best name for this function?
pcd(). It's short for "print customer data" and takes few keystrokes
Printcustomerdata(). It states everything the function will do
printCustomer(). It states the function's purpose and is easy to read
lastFunction(). It is the final function called in most programs, and this name identifies the function's timing
Answer: Option
Explanation:
No answer description is available. Let's discuss.

12.
The function strcmp("Jose", "JOSE") will return _____
- 1
0
1
Answer: Option
Explanation:
No answer description is available. Let's discuss.

13.
A pointer to void can hold pointers to
char type
int type
float type
any data type
Answer: Option
Explanation:
No answer description is available. Let's discuss.

14.
Which of the following is the extraction operator?
>>
<<
//
/*
both (a) and (b)
Answer: Option
Explanation:
No answer description is available. Let's discuss.

15.
The function whose prototype is void getData(Item &thing); receives
a pointer to a structure
a reference to a structure
a copy of a structure
nothing
Answer: Option
Explanation:
No answer description is available. Let's discuss.