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
Explain what are reserved words?
How do I get a null pointer in my programs?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
Explain can static variables be declared in a header file?
Explain the binary height balanced tree?
What 'lex' does?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
What is a built-in function in C?
For what purpose null pointer used?
What is the difference between constant pointer and constant variable?
What is bash c?
Explain the difference between ++u and u++?
What is calloc() function?
Why is python slower than c?
What is the value of h?