Question PRG-C-0068
HardWhat is the output of this program?
#include <stdio.h>
int main() {
int a = 5, b = 0;
if (b != 0 && a / b > 1) printf("big ");
else printf("safe ");
printf("%d", (a > 3) + (a > 4) + (a > 5));
return 0;
}
- A.
safe 3
- B.
Runtime error
- C.
Sign up free to see the answer and a step-by-step explanation.