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

how to construct a simulator keeping the logical boolean gates in c

2261


What are data structures in c and how to use them?

1172


How do you list files in a directory?

1146


Explain what is the benefit of using enum to declare a constant?

1089


What do you mean by a sequential access file?

1085


What is a memory leak? How to avoid it?

1349


Why C language is a procedural language?

1039


What are valid operations on pointers?

1201


What functions are used in dynamic memory allocation in c?

1085


What do you mean by dynamic memory allocation in c?

1105


How is a null pointer different from a dangling pointer?

1030


What is maximum size of array in c?

1046


What is p in text message?

988


Explain the term printf() and scanf() used in c language?

1051


What is the purpose of sprintf() function?

1131