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