Contents

Which operator connects the structure name to its member name?
a) -                                                         
b) dot operator
c) both a & b                       
d) all of these

b

Which of the following cannot be a structure member?
a) another structure            
b) function
c) array                                 
d) none of these

b

What are the types of data allowed in structure?
a) int, float, double             
b) char, Enum, union
c) pointers and same structure         
d) all of these

d

What is passed if you pass a structure variable to function?
a) copy of structure variable         
b) reference
c) starting address               
d) ending address

a

Which properly declares a variable of struct foo?
a) struct foo;                        
b) struct foo var;
c) foo;                                   
d) int foo;

b

The data elements in the structure are also known as……
a) objects                             
b) members
c) data                                  
d) both a & c

b