Table of Content

Array MCQ : Guess the Output of Program (Multiple Choice Questions)


Question 1
During Second Run , Address of Variable may change. Say True or false
A
False
B
True
Question 2
Local Variable is having _______ scope ?
A
local
B
global
C
inter program
D
only inside current Program
Question 3
Consider the following fig.
local_variable_in_c
Var1 will be accessible in following block ?
A
Inner Block Only
B
In Complete Program
C
Outer Block Only
D
Inner Block and Outer block
Question 4
Local Variable is Accessible in - [Select Appropriate Option(s)]
A
None of these
B
From block in which it is declared
C
From function
D
From Main
Question 5
Higher priority is given to ________ variable than _______ variable.
A
Local , Global
B
Global , Local
There are 5 questions to complete.