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


Please Help Members By Posting Answers For Below Questions

How does normalization of huge pointer works?

613


How to declare a variable?

557


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

599


With the help of using classes, write a program to add two numbers.

607


What functions are used in dynamic memory allocation in c?

578






How can I use a preprocessorif expression to ?

589


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1200


What is the difference between malloc() and calloc()?

605


What is sizeof array?

598


void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

2202


how to find anagram without using string functions using only loops in c programming

2704


What is the meaning of && in c?

539


Explain null pointer.

610


How many types of operators are there in c?

605


What is a far pointer in c?

584