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 difference between structure and union?

1190


Where are the auto variables stored?

1204


What is hungarian notation? Is it worthwhile?

1272


What is variable declaration and definition in c?

967


What is assert and when would I use it?

1064


How do I determine whether a character is numeric, alphabetic, and so on?

1183


Can stdout be forced to print somewhere other than the screen?

1089


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

2857


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

1755


How can you be sure that a program follows the ANSI C standard?

1656


How do you convert strings to numbers in C?

1296


What is wrong with this initialization?

1062


Can a function argument have default value?

1206


What is a rvalue?

1261


Do you have any idea how to compare array with pointer in c?

1091