Contents

A variable that holds the address of another variable is called……
a) arrays                                               
b) pointers
c) stack                                 
d) link list

b

Which of the following pointer hold the address of integer variable?
a) char pointer                     
b) integer pointer
c) string pointer   
d) all of these

b

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