Contents

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

d

Which of the following is not possible under any scenario?
a) s1 = &s2;
b) s1 = s2;             
c) (*s1).number = 10;
d) None of the mentioned

d

Which of the following operation is illegal in structures?
a) Typecasting of structure>
b) Pointer to a variable of the same structure>
c) Dynamic allocation of memory for structure>
d) All of the mentioned>

a

Presence of code like “s.t.b = 10” indicates…………
a) Syntax Error   
b) Structure
c) double data type
d) An ordinary variable name

b

Which of the following are themselves a collection of different data types?
a) String                                
b) Structure
c) Char                                  
d) All of these

b

Which operator connects the structure name to its member name?
a) -                                                         
b) .
c) Both (b) and (c)              
d) None of these

b