A
Q. What will be the output?
Code:
#include <stdio.h>
int main() {
int x = 1;
if (x = 0)
printf("Zero");
else
printf("Not Zero");
return 0;
}
int main() {
int x = 1;
if (x = 0)
printf("Zero");
else
printf("Not Zero");
return 0;
}
- Correct Answer - Option(B)
- Views: 28
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.