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 / revathi pawar

know c is the answer because float and double r not same
the memory allocation differs so know c will b printed

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning of ?

1020


Is that possible to store 32768 in an int data type variable?

1068


Write a program to find factorial of a number using recursive function.

1107


What is meant by high-order and low-order bytes?

1032


What is double pointer?

985


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

989


What is calloc() function?

1080


What is int main () in c?

1068


Can include files be nested?

1088


Compare array data type to pointer data type

1003


What does %d do in c?

948


how do you execute a c program in unix.

1099


When should I declare a function?

1106


What are preprocessor directives in c?

1079


Explain why C language is procedural?

1201