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

find the sum of two matrices and WAP for it.

1197


Why is c called c?

1075


How is = symbol different from == symbol in c programming?

1105


Add Two Numbers Without Using the Addition Operator

882


simple program of graphics and their output display

2052


Implement bit Array in C.

1199


Explain what is the advantage of a random access file?

1179


Explain about the constants which help in debugging?

1422


Is there any data type in c with variable size?

1150


Explain how can you tell whether a program was compiled using c versus c++?

1147


Why main is not a keyword in c?

1324


What is non linear data structure in c?

1074


Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.

1473


Mention four important string handling functions in c languages .

1160


Why c language?

1125