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

value that contained in p is incremented. (p is pointer.)

++(*p) --> pre-increment.
(*p)++ --> post-increment.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the header file and its usage in c programming?

1072


What is the difference between call by value and call by reference in c?

1162


Which header file is essential for using strcmp function?

1482


What is #ifdef ? What is its application?

1112


Difference between goto, long jmp() and setjmp()?

1180


How are structure passing and returning implemented?

1035


Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

1095


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

1130


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

1176


Explain heap and queue.

1087


What is the purpose of void in c?

1067


what are the advantages of a macro over a function?

1141


Is c dynamically typed?

1159


Does c have class?

1116


What is a #include preprocessor?

1153