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

Explain the use of function toupper() with and example code?

1077


Process by which one bit pattern in to another by bit wise operation is?

1096


What does typedef struct mean?

1040


What is c language used for?

922


What is zero based addressing?

1109


define string ?

1055


Can a pointer be null?

974


How can I get random integers in a certain range?

1014


how to write a c program to print list of fruits in alpabetical order?

2238


Where local variables are stored in c?

953


Describe the header file and its usage in c programming?

1010


Explain what are preprocessor directives?

1013


What is time complexity c?

940


What is local and global variable in c?

1127


Is c procedural or functional?

978