Contents

Which of the following are uses of C structures?
a) used in stack, link list etc.
b) used in operating system
c) used to exchange information     
d) all of these

d

Which of the following return type cannot be used in c function?
a) char*                                
b) struct
c) void                                   
d) none of these

d

Which of the following is not possible under any situation?
a) s1=&s2;                           
b) s1=s2;
c) (s1) *number=1;             
d) none of these

d

Which of the following is illegal in structures?
a) typecasting                     
b) pointer to variable
c) dynamic allocation of memory
d) all of these

a

Presence of code like “s.t.b=10” indicates
a) syntax error                     
b)  structure
c) double data type            
d) an ordinary variable

b

Which of the following are themselves is collection of different data types?
a) string                                 
b) structure
c) char                                   
d) all of these

b