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




16.Assuming the following three operators appear in an expression (without parentheses), which of the operators will be performed first?
A. &&
B. !
C. ||
D. All of above

17.The code that you enter into a C++ program is called _____
A. console code
B. object code
C. project code
D. source code

18.If a base class member is private, then
A. if a derived class uses the public access specifier, the data member becomes public
B. if a derived class uses the protected access specifier, the data member becomes protected
C. both (a) and (b)
D. neither (a) nor (b)

19.Which of the following instructions tells C++ to merge the source code from the iostream.h file into the current file?
A. #include
B. #include iostream.h
C. #include
D. None of the above

20.The statement double total = 0.0; performs _____
A. assignment
B. initialization
C. rationalization
D. polymorphism

«»



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