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




11.In the C language, the character type of constant is delimited by using
A. single quotes
B. double quotes
C. parenthesis
D. None of them

12.One way in which a structure differs from an array is that _____
A. a structure may have members of more than one type
B. a structure must have members that; are all the same type
C. art array may have members of more than one type
D. there is no difference between a structure and an array

13.A default constructor _____
A. takes no arguments
B. has default values for all its arguments
C. either (a) or (b)
D. neither (a) nor (b).

14.The number 125.35 is a _____
A. character literal constant
B. numeric literal constant
C. string literal constant
D. variable

15.When a class serves as a base class to others, _____
A. all of its members are inherited
B. all of its members are inherited, except for any private members
C. all of its members are inherited, except for any protected members
D. None of its members is inherited unless specifically "listed

«»



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