Contents

A variable declared inside function is known as…….
a) local variables              
b) global variable
c) private variables             
d) external variable

a

A variable declaration outside any function is called……
a) global variables            
b) local variable
c) external variables
d) private variable

a

Global variables are created in…….
a) RAM                                
b) ROM
c) hard disk                          
d) cache

a

Explanation: RAM stand for Random Access Memory


The local variables are also called……
a) external variables                          
b) automatic variables
c) dynamic variables
d) all of these

b

Memory is allocated to a local variable at the time of its…….
a) declaration                      
b) destruction
c) definition                        
d) first reference

c

Which of the following is true about function call?
a) steps execution of program
b) transfer the control
c) transfer control of main function
d) resumes the execution of program

b