Table of Content

  • Switch Case Multiple Choice Questions

C Programming MCQ : Switch Case Multiple Choice Questions


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