C - onditional Statements
What is the output of this C code?
int x = 5, y = 8;
if (x > 0) {
if (y < 10) {
printf("A\n");
} else {
printf("B\n");
}
} else {
printf("C\n");
}What is the output of this C code?
int x = 5, y = 8;
if (x > 0) {
if (y < 10) {
printf("A\n");
} else {
printf("B\n");
}
} else {
printf("C\n");
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions