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
Differentiate abs() function from fabs() function.
Explain Function Pointer?
What does the error 'Null Pointer Assignment' mean and what causes this error?
Define the scope of static variables.
Which is better between malloc and calloc?
I need previous papers of CSC.......plz help out by posting them.......
how to create duplicate link list using C???
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
What is a constant?
What is structure in c explain with example?
can we have joblib in a proc ?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
What is the difference between the expression “++a” and “a++”?
Which built-in library function can be used to match a patter from the string?
What is break in c?