What will be the output of the following ‘C’ program

1.3 What will be the output of the following ‘C’ program
main()
{
int a=5;
float b=5.0;
if(a==b)
printf(“a and b are equal”);
else
printf(“a and b are different”);
}
A) a and b are equal
B) a and b are different
C) Error
D) None of the above

Leave a Reply