0
What is the output of the following C program?
#include <stdio.h>
int main() {
int a = 0, b = 1;
if (a)
if (b)
printf("X");
else
printf("Y");
printf("Z");
return 0;
}- AYZ
- BXZ
- CZ
- DY
Correct answer: C