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

How do we make a global variable accessible across files? Explain the extern keyword?

1939


how could explain about job profile

1988


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

1130


What is strcpy() function?

1219


Is there a way to switch on strings?

1131


What are volatile variables in c?

997


What are reserved words?

1159


Explain what is wrong in this statement?

1178


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

1120


Explain pointer. What are function pointers in C?

1145


diff between exptected result and requirement?

2114


What are structures and unions? State differencves between them.

1254


Is c programming hard?

1083


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

2665


What are the general description for loop statement and available loop types in c?

1171