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...

what is difference between ++(*p) and (*p)++

Answer Posted / vikram

here,*is the value at address operater;
according to heirarchy of operators,*is given the first
preference and then ++;
++(*p) means first incrementation of value at address of p
takes place and then execution takes place;
on the other hand,(*p)++ means first execution takes place
and then value at address of p is incremented

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data structure in c language?

1107


What do mean by network ?

1160


how can I convert a string to a number?

1082


Is it fine to write void main () or main () in c?

1025


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

1122


What is %s and %d in c?

1037


Dont ansi function prototypes render lint obsolete?

1124


What are identifiers c?

1078


What is printf () in c?

1084


Explain how can I prevent another program from modifying part of a file that I am modifying?

1090


Define Spanning-Tree Protocol (STP)

1127


What does return 1 means in c?

1069


Why clrscr is used in c?

1014


What are the difference between a free-standing and a hosted environment?

1286


what are the 10 different models of writing an addition program in C language?

1893