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
how to construct a simulator keeping the logical boolean gates in c
What are data structures in c and how to use them?
How do you list files in a directory?
Explain what is the benefit of using enum to declare a constant?
What do you mean by a sequential access file?
What is a memory leak? How to avoid it?
Why C language is a procedural language?
What are valid operations on pointers?
What functions are used in dynamic memory allocation in c?
What do you mean by dynamic memory allocation in c?
How is a null pointer different from a dangling pointer?
What is maximum size of array in c?
What is p in text message?
Explain the term printf() and scanf() used in c language?
What is the purpose of sprintf() function?