Question 21
Switch Case Label should be Unique, State Whether True/False ?
A
True
B
False
Question 21 Explanation: 
Switch Case Label Should be Unique.
Question 22
Arrange Following Programming Languages in the Chronological Order of there development -
B
K&R; C
C
C++
BCPL
ANSI C
A
1 4 5 2 3 6
B
4 1 5 2 6 3
C
4 1 5 3 2 6
D
4 1 5 2 3 6
Question 22 Explanation: 
1967 ===> BCPL
1970 ===> B
1972 ===> C
1976 ===> K&R C
1980 ===> C++
1989 ===> ANSI C
Question 23
We can use "Semicolon" at the end of switch case. State Whether True/False ?
A
False
B
True
Question 23 Explanation: 
Semicolon is Written after case label -
case 4 :
Question 24
We can use "Integer" Variable as Switch Case Label but not "Floating Point" variable. State Whether True/False ?
A
False
B
True
Question 24 Explanation: 
We cannot use Variable of any type inside switch case as "Switch Label"
Question 25
"default" Label is Optional in Switch Case. State Whether True/False ?
A
True
B
False
Question 25 Explanation: 
It is not always necessary to use default label inside switch case.

Pages: 1 | 2 | 3 | 4 | 5 | 6 |