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 the difference between i++ and ++i?

Answer Posted / moonlight

++i is pre increment and i++ is post increment. It is useful
in any codition.in pre increment it increases value of i
first then check it's value and in post increment it first
check it's value then increment.

Is This Answer Correct ?    29 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you allocate arrays or structures bigger than 64K?

1200


Why is not a pointer null after calling free?

1071


Why n++ execute faster than n+1 ?

3139


What is sizeof c?

1118


In C language, a variable name cannot contain?

1322


Can you apply link and association interchangeably?

1174


What are the uses of a pointer?

1196


What are the string functions? List some string functions available in c.

1036


List the difference between a While & Do While loops?

1146


What is a keyword?

1217


What is static volatile in c?

1073


Why do we need arrays in c?

1204


how to count no of words,characters,lines in a paragraph.

4470


What is dynamic variable in c?

1095


Can two or more operators such as and be combined in a single line of program code?

1411