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

x=2,y=6,z=6
x=y==z;
printf(%d",x)

Answer Posted / amit

since "=" has a low precedence over "==" .. thus "y==z" will
be evaluated first and the returned value will be stored in
x which will be printed subsequently...

In this case since y equals z, x = 1 will be printed

cheers

AD

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of extern in c?

1046


Define macros.

1218


What is difference between function overloading and operator overloading?

1041


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

1227


In a switch statement, what will happen if a break statement is omitted?

1005


Can one function call another?

1045


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

1040


Why do we use & in c?

945


What are the rules for identifiers in c?

1023


What is getch?

1085


How can I read in an object file and jump to locations in it?

981


What is I ++ in c programming?

1058


List the difference between a "copy constructor" and a "assignment operator"?

955


What is the difference between abs() and fabs() functions?

1057


What does calloc stand for?

1081