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
only inside current Program
B
local
C
inter program
D
global
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
From Main
B
From function
C
From block in which it is declared
D
None of these
Question 5
Higher priority is given to ________ variable than _______ variable.
A
Local , Global
B
Global , Local
There are 5 questions to complete.