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);
}

what is the output?

Answer Posted / yusuf

x++ means we have to assign the value and then the
increment comes to light.......so
x=y++ + x++;
=35 + 20;
=55

now the value of x=55 then
y=37 + 56;
=93

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the benefit of using const for declaring constants?

1046


What is the use of a ‘’ character?

1106


given post order,in order construct the corresponding binary tree

2803


application attempts to perform an operation?

1993


Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

1157


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1947


Describe dynamic data structure in c programming language?

1109


What does stand for?

1097


Why is c fast?

1075


What is the use of clrscr?

1118


to find the closest pair

2332


Can you apply link and association interchangeably?

1137


What is a stream in c programming?

1168


How can a process change an environment variable in its caller?

1198


Explain how do you convert strings to numbers in c?

1090