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

Differentiate abs() function from fabs() function.

1072


Explain Function Pointer?

1244


What does the error 'Null Pointer Assignment' mean and what causes this error?

1259


Define the scope of static variables.

1199


Which is better between malloc and calloc?

1254


I need previous papers of CSC.......plz help out by posting them.......

2351


how to create duplicate link list using C???

2603


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)

1207


What is a constant?

1113


What is structure in c explain with example?

1214


can we have joblib in a proc ?

2386


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

16919


What is the difference between the expression “++a” and “a++”?

1275


Which built-in library function can be used to match a patter from the string?

1348


What is break in c?

1104