Contents

Which of the following is the correct format of preprocessor directive?
a) @define identifier value               
b) #define identifier value
c) &define identifier value
d) %define identifier value

b

Which part of the program executed always first in C++ program?
a) main () function                            
b) body function
c) both a & b                       
d) none of these

a

The part of source code ignored by compiler is called……
a) comment                         
b) complement
c) common part
d) none of these

a

How many types of comments used in C++ program?
a) one    
b) two    
c) three  
d) four

b

Explanation: single line comment, multi-line comment