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




6.You can place function templates
A. at the end of main()
B. at the start of a program above main()
C. in two files-one for the definition and one for the function
D. any of the above

7.The two operators && an || are
A. arithmetic operators
B. equality operators
C. logical operators
D. relational operators

8.The arguments that determine the state of the cout object are called _____
A. classes
B. manipulators
C. format flags
D. state controllers

9.Static variables are sometimes called
A. class variables
B. functional variables
C. dynamic variables
D. auto variables

10.An expression
A. is a collection of data objects and operators that can be evaluated to a single value
B. is a name that substitutes for a sequence of characters
C. causes the computer to carry out some action
D. All of the above

«»



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