Contents

To declare a structure which keyword is used?
a) Struck                               
b) structure
c) Struct                               
d) stru

c

Structure member is used using which operator?
a) .                         
b) +                        
c) &                       
d) ,

a

What is the similarity between a structure and union?
a) 
Both of them let you define new values
b) Both of them let you define new data types
c) Both of them let you 
define new pointers
d) Both of them let you define new structures

b

Which function is used to free the allocated memory?
a) Remove ()                       
b) malloc ()
c) free()                                                
d) calloc

c

Which one of the following is a memory allocation function?
a) calloc()                            
b) printf()
c) dalloc()                             
d) maloc()

a

Which function is used to dynamically allocate memory?
a) alloc()                               
b) memalloc()
c) malloc()                           
d) None of these

c