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

What is c language used for?

982


How to implement a packet in C

2883


Is this program statement valid? INT = 10.50;

1144


What are different storage class specifiers in c?

1089


Explain what are compound statements?

1057


What are all different types of pointers in c?

1007


What is the use of typedef in c?

1029


What are the difference between a free-standing and a hosted environment?

1284


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

1077


Explain what is gets() function?

1069


What is pivot in c?

1024


Where in memory are my variables stored?

1177


What are different types of pointers?

1068


Why c is called top down?

1155


Why is it that not all header files are declared in every C program?

1213