26. You construct a class in two sections, known as the _____

A. header and body
B. type and parameters
C. declaration and implementation
D. pointer and variable


Correct Answer: C. declaration and implementation

27. It is sometimes useful to specify a class from which no objects will ever be created

A. True
B. False


Correct Answer: A. True

28. The statement i*=3 is equivalent to

A. i = 3*
B. i = 3
C. i* = 3
D. i = i * 3
E. None of the above


Correct Answer: D. i = i * 3

29. The complement operator is represented by the symbol

A. ~
B. ^
C. i
D. <
E. None of the above


Correct Answer: A. ~

30. One of the relational operators in the C language is

A. !=
B. &&
C. !
D. #
E. None of the above


Correct Answer:  A. !=

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    10 + twenty =