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=10,y=15;
x=x++;
y=++y;
printf("%d %d\n",x,y);
}

output??

Answer Posted / ankit

11 16 is correct ..
value of x is incremented and is saved in memeory and at
the time of display it will be 11,
as in case of y it will be incremented and will store the
incremented value to be displayed for y.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how do you override a defined macro?

1084


What the advantages of using Unions?

1234


What does 2n 4c mean?

1241


Difference between MAC vs. IP Addressing

1156


What is static volatile in c?

1026


What does malloc () calloc () realloc () free () do?

1071


How can I write a function analogous to scanf?

1192


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

3525


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

1895


What is a null string in c?

1052


What is a method in c?

1156


What are the types of data files?

1207


What are the back slash character constants or escape sequence charactersavailable in c?

1184


Explain About fork()?

1124


Can static variables be declared in a header file?

1066