Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

The output of the following code segment will be

char x = ‘B’
switch (x) 
{
	case ‘A’ : printf (“a”);
	case ‘B’ : printf (“b”);
	default  : printf (“c”);
}
A B
B a
C C
D b
Answer & Explanation
Option: [D]
Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Random GK Questions

Assam Direct Recruitment Test Series

Computer Science Topics