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

difference between i++* and *++i

Answer Posted / vignesh1988i

i++* wont work .... as for as i know.... it's meaningless

comin to *++i, i is a pointer holding an address so here ++
and * holds the same priority so we ll go for associativity
of these operators. it's RIGHT to LEFT.

so , address in 'i' will get incremented and then if that
address points to some value means it will print that value
or else it will have garbage value



thank u

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the properties of union in c?

1055


In C language what is a 'dangling pointer'?

1164


What is #include cctype?

1126


Explain what are its uses in c programming?

1065


What is anagram in c?

927


Write a program to print factorial of given number using recursion?

1020


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

1418


Explain what does the format %10.2 mean when included in a printf statement?

1367


What is pass by value in c?

1074


Explain how can you restore a redirected standard stream?

1102


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1925


Add Two Numbers Without Using the Addition Operator

829


Explain what are linked list?

1048


Is it possible to use curly brackets ({}) to enclose single line code in c program?

1325


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1036