Programming - C++ Language

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

 
31.

The break statement causes an exit from                        


A. from the innermost loop only. B. only from the innermost switch.
C. from all loops & switches. D. from the innermost loop or switch.




32.

A property which is not true for classes is that they                        


A. are removed from memory when not in use. B. permit data to be hidden from other classes.
C. bring together all aspects of an entity in one place. D. Can closely model objects in the real world.




33.

You can read input that consists of multiple lines of text using                        


A. the normal cout << combination. B. the cin.get( ) function with one argument.
C. the cin.get( ) function with two arguments. D. the cin.get( ) function with three arguments.




34.

The keyword friend does not appear in                        


A. the class allowing access to another class. B. the class desiring access to another class.
C. the private section of a class. D. the public section of a class.




35.

The operator that cannot be overloaded is                        


A. ++ B. ::
C. ( ) D. ~




36.

A struct is the same as a class except that                        


A. there are no member functions. B. all members are public.
C. cannot be used in inheritance hierarchy. D. it does have a this pointer.




« prev

1

2

3

4

5

6

7

8

9

next »

 
 



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