Contents

What will happen when the structure is declared?
a) it will not allocate memory                        
b) will allocate memory
c) declared and initialized                 
d) will be declared

a

The declaration of structure is also called
a) structure creature           
b) structure signifier
c) structure specifier
d) both a & b

c

Which of the following is a properly defined structure?
a) struct {int a}; 
b) struct a_struct{int a;}
c) struct a_struct int a;                                       
d) struct a_struct{int a;};

d

Which of the following accesses a variable in structure *b?
a) b->var                              
b) b.var;
c) b-var;                                
d) b>var;

a

Who developed object-oriented programming?
a) Adele Goldberg               
b) Dennis Ritche
c) Alan Kay                         
d) Andera Ferro

c

Which of the following is not an OOPS concept?
a) encapsulation 
b) polymorphism
c) exception                         
d) abstraction

c