23. What is the output of the following C program?
#include
void main({
int a=5,b=10,c=0;
if(a,b,c)
printf(" a is five\n”);
else
printf("c is zero\n");
return;
}
a is five
O cis zero
Compilation error
Runtime error
Answers
Answered by
1
Answer:
int a = 5; here variable a contains "5". Step 3: printf(a >10?"Ps\n":"%s\n", str ); this statement can be written ...
Similar questions