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




6.A function that is called automatically each time an object is created is a(n)
A. constructor
B. contractor
C. builder
D. architect

7.The function whose prototype is void getData(Item *thing); receives
A. a pointer to a structure
B. a reference to a structure
C. a copy of a structure
D. nothing

8.You may override the class access specifier for_____
A. public members
B. public and protected members
C. any specific class members you choose
D. no clas smembers

9.The null character needs a space of
A. zero bytes
B. one byte
C. three bytes
D. four bytes

10.The number of structures than can be declared in a single statement is
A. one
B. two
C. three
D. unlimited

«»



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