Object Oriented Programming Using C++ - Section 7 Multiple Questions and Answers.




36.In the statement template,
A. T is a class
B. T is a scalar variable
C. either (a) or (b)
D. neither (a) nor (b)

37.The null character is represented by
A.
B.
C. o
D.

38.The break statement is
A. a preprocessor directive
B. an operator in the C++ language
C. a keyword in the C++ language
D. switch in the C++ language

39.A variable w with a value 67 may be defined with _______
A. int w = 67;
B. int w(67);
C. int 67(w);
D. both (a) and (b), but not (c).

40.An expression contains relational, assignment and arithmetic operators. In the absence of parentheses, the order of evaluation will be
A. assignment, relational, arithmetic
B. arithmetic, relational, assignment
C. relational, arithmetic, assignment
D. assignment, arithmetic, relational

«»



Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers