Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

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
Answer: A
No answer description is available. Let's discuss.
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: A
No answer description is available. Let's discuss.
The bitwise OR operator is a
A:
unary operator
B:
binary operator
C:
ternary operator
D:
octal operator
Answer: B
No answer description is available. Let's discuss.
Which of the following is not a programming control structure?
A:
repetition
B:
selection
C:
sequency
D:
sorting
Answer: D
No answer description is available. Let's discuss.
The name of a function ends with
A:
double quotes
B:
single quotes
C:
parenthesis
D:
#
Answer: C
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz