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 is typeof in c?

1063


How would you use the functions fseek(), freed(), fwrite() and ftell()?

1205


What is a class c rental property?

1145


What does c in a circle mean?

1130


What is mean by data types in c?

1074


What is a newline escape sequence?

1161


How many levels of indirection in pointers can you have in a single declaration?

1144


What are unions in c?

1084


Write a progarm to find the length of string using switch case?

2123


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

1812


Write a program to print “hello world” without using semicolon?

1183


Why is c so important?

1103


What is string concatenation in c?

1138


Write a program to reverse a given number in c?

1080


How would you rename a function in C?

1091