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 / mazrul

in x=x++;
the above expression is postfix
first we assign 10 into x then increment it by one so value
of x become 11
ic case of
y=++y;
is prefix expression firstly we increment value of y
then assign it to y.
so y become
y=16

Is This Answer Correct ?    53 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a shell structure examples?

1153


What is the significance of an algorithm to C programming?

1096


What is the ANSI C Standard?

1331


What is operator precedence?

1282


Why can’t we compare structures?

1327


Is a house a mass structure?

1154


What are the properties of union in c?

1111


What is the use of sizeof () in c?

1100


What is the use of putchar function?

1109


What are the types of variables in c?

1088


What is keyword with example?

1124


What is ambagious result in C? explain with an example.

2700


When should volatile modifier be used?

1076


what is the basis for selection of arrays or pointers as data structure in a program

4345


Explain the term printf() and scanf() used in c language?

1096