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

Can we declare variables anywhere in c?

1007


Explain how can I remove the trailing spaces from a string?

1058


Does free set pointer to null?

1016


What are comments and how do you insert it in a C program?

1260


What is a structure member in c?

1014


Explain 'bus error'?

1106


Explain pointer. What are function pointers in C?

1089


Is c++ based on c?

1083


I heard that you have to include stdio.h before calling printf. Why?

1077


What are the parts of c program?

1105


What is a char in c?

1002


what are bit fields in c?

1729


what is stack , heap ,code segment,and data segment

2706


Does c have function or method?

1011


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

3551