main()
{
float a=8.8;
double b=8.8;
if(a==b)
printf("Equal");
else
printf("not equal");
getch();
}
what is the output?
with reason
Answer Posted / vikram
answer is not equal;
bcoz float cannot be compared with double.
| Is This Answer Correct ? | 5 Yes | 8 No |
Post New Answer View All Answers
What is c language used for?
How to implement a packet in C
Is this program statement valid? INT = 10.50;
What are different storage class specifiers in c?
Explain what are compound statements?
What are all different types of pointers in c?
What is the use of typedef in c?
What are the difference between a free-standing and a hosted environment?
Explain what is the benefit of using enum to declare a constant?
Explain what is gets() function?
What is pivot in c?
Where in memory are my variables stored?
What are different types of pointers?
Why c is called top down?
Why is it that not all header files are declared in every C program?