Computer Science - Object Oriented Programming Using C++

36. 

The name of a function ends with

A. double quotes
B. single quotes
C. parenthesis
D. #
E. None of the above

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

37. 

Which of the following is not a programming control structure?

A. repetition
B. selection
C. sequency
D. sorting

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

38. 

The bitwise OR operator is a

A. unary operator
B. binary operator
C. ternary operator
D. octal operator
E. None of the above

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

39. 

A class Stockltems has four data members and three function members. You define 50 objects as members of the class. Which is true?

A. Only one copy of each of the tnree functions exists
B. Only one copy of each of the four data members exists
C. Both (a) and (b) are true
D. Neither (a) nor (b) is true

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

40. 

The continue statement should be written only

A. in the body of a loop.
B. in the nested loops
C. outside the body of a loop
D. any where
E. None of the above

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.