Object Oriented Programming Using C Plus Plus - Study Mode
[#511] Which of the following statements creates and initializes a pointer named salesPtr?
Correct Answer
salesPtr = NULL
[#512] With communicational cohesion
Correct Answer
(C) the data are related
the tasks are not
[#513] To use the this pointer with a member function, you _____
Correct Answer
(D) do nothing
it is automatically supplied for you
[#514] A function that is prototype as int calculate(int num)
may
Correct Answer
(C) either (a) or (b)
[#515] Assume that a program includes the short *agePtr = NULL
statement. The name of the pointer is _____
Correct Answer
(C) agePtr