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

Difference between malloc() and calloc() function?

1186


What are the different types of objects used in c?

1019


Differentiate between ordinary variable and pointer in c.

1160


What are the restrictions of a modulus operator?

1108


using for loop sum 2 number of any 4 digit number in c language

2319


When should a type cast not be used?

1047


difference between Low, Middle, High Level languages in c ?

2070


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

1141


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

1152


What is the purpose of sprintf() function?

1101


How can I implement sets or arrays of bits?

1026


how can I convert a string to a number?

1072


What is a double c?

966


What are the preprocessor categories?

1044


What is memcpy() function?

1100