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+1 ?(in terms of memory)

Answer Posted / rohit

i++ is increment i value by one .. there no need to assign any
other variable to store it..
but in case of i+1 here also incrementing value by one
but if u want to use it in below program we have to
store it in another variable..
so main difference is i++ has less memory compare to i+1

the i++ and i+1 is one and the same who don't accept this answer they may apply this in "c" and then try to prove us wrong

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need a structure?

1082


Explain low-order bytes.

1098


Differentiate between null and void pointers.

1231


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2490


What is the use of c language in real life?

1070


What are the standard predefined macros?

1204


What is c method?

1048


Explain about block scope in c?

1149


What is structure of c program?

1231


How does sizeof know array size?

1171


For what purpose null pointer used?

1117


What is file in c preprocessor?

1199


What is the total generic pointer type?

1213


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

1214


What is bubble sort in c?

1104