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...

What is the output for the below program?

void main()
{
float me=1.1;
double you=1.1;
if(me==you)
printf("love c");
else
printf("know c");
}

Answer Posted / kalyan chukka

The Answer is Know c Because float having 7 digit numbers
and double having 15 digit number

float me=1.1 it stores like 0.99999
double you=1.099999999

so the Correct Answer is Know C

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you find a duplicate number in a array without negating the nos ?

2085


Why are all header files not declared in every c program?

1045


What are categories used for in c?

1037


How do I convert a string to all upper or lower case?

1061


Can math operations be performed on a void pointer?

974


How can you allocate arrays or structures bigger than 64K?

1085


What does typeof return in c?

1022


Is there any possibility to create customized header file with c programming language?

1009


What is the explanation for the dangling pointer in c?

1063


How do you search data in a data file using random access method?

1258


What is the purpose of the statement: strcat (S2, S1)?

1081


how can I convert a string to a number?

1033


Why do we use null pointer?

999


What does c mean?

978


Tell me is null always defined as 0(zero)?

1038