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