Report Bug
Qus :

In the following nested conditional statements, which branch will execute?

int x = 4;
if (x > 2) {
	if (x < 5) 	{
		printf("x is between 2 and 5");
	}
else {
	printf("x is 2 or less");
}

Qus

A. x is between 2 and 5
B. x is 2 or less
C. Error
D. No output


Solution
A. x is between 2 and 5






Report Bug