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

p is a pointer variable which is holding the address of
another variable ,*p indicates the value that stored in
particular address

++(*p)-the value of the particular variable which is stored
in p is first incremented and used by next instruction

(*p)++ -the value of the particular variable which is
stored is executed or used by next instruction as it is
what it was,if it is any looping statement first time the
loop will be executed with the original value while doing
the second looping it is incremented by 1

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a null string in c?

1006


explain how do you use macro?

1118


What is signed and unsigned?

1034


Explain how do you convert strings to numbers in c?

1041


Where register variables are stored in c?

932


Explain what standard functions are available to manipulate strings?

1046


How can a program be made to print the name of a source file where an error occurs?

1188


How can I read and write comma-delimited text?

1034


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

1174


What does the message "automatic aggregate intialization is an ansi feature" mean?

1159


Is this program statement valid? INT = 10.50;

1111


When should we use pointers in a c program?

1102


What is the use of a ‘’ character?

1051


What is variable initialization and why is it important?

1193


Are pointers really faster than arrays?

994