Contents

With the use of pointer program execution becomes?
a) Faster                              
b) Slower
c) Remains same                
d) None of these

a

In C a pointer variable to an integer can be created by the declaration.....
a) int p*                                                
b) int * p
c) int +p                                                
d) Int $p

b

The reason for using pointers in a Cprogram is
a) Pointers allow different functions to share and modify their local variables
b) To pass large structures so that complete copy of the structure can be avoided
c) Pointers enable complex “linked" data structures like linked lists and binary trees     
d) All of the above

d

What is wild pointer?
a) Pointer which is wild in nature
b) Pointer which has no value
c) Pointer which is not initialized
d) None of these

c

Explanation: Uninitialized pointers are known as wild pointers because they point to some arbitrary memory location and may cause a program to crash or behave badly.


In order to fetch the address of the variable we write preceding….. sign before variable name.
a) Percent(%)                       
b) Comma(,)
c) Ampersand(&)               
d) Asterisk(*)

c

Address stored in the pointer variable is of type……………
a) Integer                             
b) Float
c) Array                                
d) Character

a