General Awareness EBooks Bundle - Get it

use coupon codes at checkout and get additional discount


Find the error in the following program:

		int m;
		char g;
			case 3: grade="P";break;
			case 2: grade="Q";break;
			case 1: grade="R";break;
			default: grade="S";break;

What will be the output of the program?

A Undefined symbol "grade"
B switch statement cannot have more than three labels
C case label cannot be numbers
D none of these
Answer & Explanation
Option: [A]

mcq on c programming conditional statements 01

Your Valuable Comments Please...

gkseries ebooks