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 a program flowchart and how does it help in writing a program?

1150


Do you know what are bitwise shift operators in c programming?

1113


What do you mean by a sequential access file?

1089


What does do in c?

1065


What are the types of type specifiers?

1048


What is a good way to implement complex numbers in c?

1055


a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

1145


What are qualifiers and modifiers c?

1013


What are the types of pointers in c?

1030


What does %c mean in c?

1106


What is uint8 in c?

1113


What are the storage classes in C?

1164


What is the most efficient way to store flag values?

1197


What is the benefit of using #define to declare a constant?

1104


What is a buffer in c?

1012