A
Q. What is the output of the following C program?
Code:
#include <stdio.h>
int main()
{
float a = 0.1;
if (a == 0.1)
printf("equal
");
else
printf("not equal
");
}
int main()
{
float a = 0.1;
if (a == 0.1)
printf("equal
");
else
printf("not equal
");
}
- Correct Answer - Option(B)
- Views: 26
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.