Contents

Which of the following symbol is used between data type and variable name?
a) ampersand (&)         
b) hash (#)
c) asterisk (*)             
d) at rate (@)

c

What is the correct format for pointer variable declaration?
a) type *variable-name;         
b) type @variable-name
c) type %variable-name           
d) type $variable-name

a

What is the correct declaration of float pointer?
a) float @percentage;               
b) float *percentage;
c) float #percentage;                
d) float $percentage

b

What is the correct declaration of character pointer?
a) char *name;
b) char @name;
c) char $name; 
d) char %name

a

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