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 / naresh m

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

Is This Answer Correct ?    31 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are bit fields? What is the use of bit fields in a structure declaration?

2106


What does s c mean on snapchat?

1090


how can use subset in c program and give more example

1978


Explain how do you determine the length of a string value that was stored in a variable?

1143


Describe how arrays can be passed to a user defined function

1273


how logic is used

1953


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

1928


Once I have used freopen, how can I get the original stdout (or stdin) back?

1063


How can I call a function with an argument list built up at run time?

1225


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

1896


What is the function of this pointer?

1313


What do you mean by recursion in c?

1092


What is dynamic memory allocation?

1320


What is static memory allocation?

1159


Can we increase size of array in c?

953