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

main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}

Answer Posted / jaya prakash

57 94


{x=y++ + x++;}
equal to
{
x=y+x;//35+20
x++; //56
y++; //36
}


y=++y + ++x;
equal to
{
++y;//37
++x;//57
y=y+x;//37+57
}

So x=57
y=94

Is This Answer Correct ?    223 Yes 59 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1784


Write a program to reverse a given number in c?

1080


How to get string length of given string in c?

1125


Why c language is called c?

1063


What is integer constants?

1134


Suggesting that there can be 62 seconds in a minute?

1104


What is oops c?

1343


What are examples of structures?

1188


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1158


When is the “void” keyword used in a function?

1583


Why string is used in c?

1049


what will be maximum number of comparisons when number of elements are given?

1952


What is f'n in math?

1142


What is the difference between exit() and _exit() function?

1101


What is main () in c?

1119