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 / subha raman

the answer is 10 and 16..
in the case of postfix,the value will be displayed first
[that is the difference between postfix and prefix]..
when the main function is again called and the value is
displayed it will b'com..11 and 17..

Is This Answer Correct ?    18 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can you tell whether two strings are the same?

1079


which is conditional construct a) if statement b) switch statement c) while/for d) goto

1268


What are the modifiers available in c programming language?

1279


Do you know null pointer?

1078


Give the rules for variable declaration?

1223


why return type of main is not necessary in linux

2152


What is wrong with this code?

1245


What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

1330


what is the syallabus of computer science students in group- 1?

2369


What is the use of sizeof?

1065


Why header file is used in c?

1162


Explain what is dynamic data structure?

1225


What is the time and space complexities of merge sort and when is it preferred over quick sort?

1137


What kind of structure is a house?

1101


Explain goto?

1207