What is the output of the following program?
#include
void main Of
int a=5,b=10,c=0;
if(a,b,c)
printf(" a is five\n");
else
printf("c is zero\n");
return;
)
Answers
Answered by
1
Answer:
compiler error
Step-by-step explanation:
question itself is incorrect
#include<stdio.h>
if statement should contain condition
return 0; should not be used in void data type instead we should use int data type
Answered by
1
Answer:
c is zero
Step-by-step explanation:
if((a>b)>c)
if((5>10)>0)
if(false>0)
then prints else statement
Similar questions