Object Oriented Programming Using C++ – Section 5

31. Within a program, you can instantiate ________that have a class template type

A. classes
B. functions
C. parameters
D. objects

Correct Answer:  D. objects
Advertisement

32. The rules to any programming language are its _______

A. syntax
B. interpretation
C. logic
D. customs

Correct Answer:  A. syntaxobjects
Advertisement

33. Which of the following backslash codes used for bell?

A. \b
B. a
C. \r
D. \s
E. None of the above

Correct Answer:  B. a
Advertisement

34. The last statement in a value-returning function is always _____

A. };
B. result expression;
C. return;
D. return expression;

Correct Answer:  D. return expression;
Advertisement

35. One of the logical operators in the C language is represented by the symbol

A. AND
B. &&
C. >=
D. <=
E. None of the above

Correct Answer:  B. &&
Advertisement

Leave A Comment?