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




36.Classes hold _____
A. data
B. methods
C. both data and methods
D. neither data nor methods

37.In C++, the address operator is the following symbol _____
A. >> 
B. &
C. *
D. !

38.The function that takes arguments to set the bits of cout is _____
A. setf()
B. bitset()
C. ios()
D. flat()

39.When you declare a pointer, you must give it a _____
A. type
B. type and name
C. type, name, and value
D. name and value

40.You typically initialize Short Integer, Integer, and Long Integer variables to
A. a space enclosed in double quotes
B. a space enclosed in single quotes
C. the letter O
D. the number 0

«»



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