Contents

Where does the execution of program starts?
a) user-define function
b) main function
c) void function  
d) none of these

b

A friend function does not have 'this' pointer associated with it……
a) true                                   
b) false
c) may be                             
d) can’t say

a

A programmer can create custom header files that must be end with…….
a) .h extension    
b) .I extension
c) .IOS extension
d) .a extension

a

What is the output of following program?
void abc (int x=0, int y, int z) {
cout<< x << y <<z;}
a) abc ()                                
b) abc (h)
c) abc (h,h)                           
d) both a & b

d

Which of the following is correct statement regarding inline function?
a) speeds up execution
b) slos down execution
c) increases the code size  
d) both a & c

d

The compiler identifies a virtual function to be pure…….
a) by the presence of keyword         
b) location in program
c) it is equated to 0            
d) none of these

c