Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Explain what are reserved words?

1036


How do I get a null pointer in my programs?

1057


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3838


Explain can static variables be declared in a header file?

1103


Explain the binary height balanced tree?

1122


What 'lex' does?

1099


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4620


What is a built-in function in C?

1510


For what purpose null pointer used?

1010


What is the difference between constant pointer and constant variable?

1164


What is bash c?

954


Explain the difference between ++u and u++?

1062


What is calloc() function?

1046


Why is python slower than c?

1015


What is the value of h?

983