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




31.Which of the following stream manipulators advances the cursor to the next line on the computer screen?
A. adin
B. advin
C. edlin
D. endl

32.6.5 is a _____ constant
A. character literal
B. named literal
C. numeric literal
D. string literal

33.Which function is most likely to have procedural cohesion?
A. main()
B. findSquareRoot()
C. getSaleSubtractDiscountAddTax()
D. openFiles()

34.A pointer is
A. the address of a variable
B. an indication of the variable to be accessed next
C. a variable for storing addresses
D. the data type of an address variable

35.Which of the following statements will assign the address of the age variable to the agePtr pointer?
A. agePtr = &age;
B. agePtr = *age;
C. &agePtr = age;
D. *agePtr = age;

«»



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