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 can I read and write comma-delimited text?

1077


What is this infamous null pointer, anyway?

1062


Explain union. What are its advantages?

1081


What is the meaning of ?

1041


Is it possible to initialize a variable at the time it was declared?

1221


How can you read a directory in a C program?

1148


can any one provide me the notes of data structure for ignou cs-62 paper

2179


What is a wrapper function in c?

1120


write a program to find out prime number using sieve case?

2101


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

1062


How the c program is executed?

1162


What are the types of operators in c?

1067


What are dangling pointers? How are dangling pointers different from memory leaks?

1322


What is const volatile variable in c?

1038


What is function in c with example?

1164