Computer Science - Object Oriented Programming Using C++

21.
To use the this pointer with a member function, you _____
declare this as static
declare this as global
define this as equal to the address of the appropriate object
do nothing; it is automatically supplied for you
Answer: Option
Explanation:
No answer description is available. Let's discuss.

22.
A function that is prototype as int calculate(int num); may
receive an integer variable named num from the main() program
receive any integer variable from the main() program
either (a) or (b)
neither (a) nor (b)
Answer: Option
Explanation:
No answer description is available. Let's discuss.

23.
A do-while loop contains
only one statement between the do statement and the while statement
several statements between the do statement and the while statement
no statement at all between the do statement and the while statement
only two statement between the do statement and the while statement
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

24.
The braces that surround the code in a 'C program
show what code goes in a particular function
delimit a section of code
separate the codes from the constant
separate the source file from the subject file
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

25.
The indirection operator is the
asterisk
ampersand
dollar sign
plus sign
Answer: Option
Explanation:
No answer description is available. Let's discuss.