Programming - C++ Language

You Are Here :: Home > C++ Language > Introduction - General Questions

 
1.

Streams are                        


A. Abstraction to perform input and output operations in sequential media B. Abstraction to perform input and output operations in direct access media
C. Objects where a program can either insert or extract characters to and from it D. Both a and c




2.

Which of the following is known as insertion operator?                        


A. ^ B. v
C. << D. >>




3.

Regarding the use of new line character (/n) and endl manipulator with cout statement                        


A. Both ways are exactly same B. Both are similar but endl additionally performs flushing of buffer
C. endl can’t be used with cout D. \n can’t be used with cout




4.

Which of the following is output statement in C++?                        


A. print B. write
C. cout D. cin




5.

Which of the following is input statement in C++?                        


A. cin B. input
C. get D. none of above




6.

By default, the standard output device for C++ programs is                        


A. Printer B. Monitor
C. Modem D. Disk




1

2

3

4

5

6

7

8

9

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on