Contents

The pointer can point to any variable that is not declared with which of these?
a) const                                 
b) volatile
c) both a & b                       
d) none of these

c

Which of the following is used to store a pointer variable declaration?
a) integer                              
b) memory address
c) floating-point value 
d) c++ value

b

When are a set of related statements grouped together to accomplish a specific task is called?
a) module                             
b) procedure
c) function                           
d) task

c

Which of the following symbol is used at the end of function prototype?
a) colon (:)                           
b) semicolon (;)
c) double quotation (“”)    
d) question (?)

b

Which of the following is the correct prototype format?
a) int add (int, int);
b) int add {int, int};
c) int add [int, int];              
d) int add.

a

Which of the following is the correct function definition?
a) int add (int x, int y);
b) int add (int x, int y)
c) int add [int x, int y];       
d) int add.

b