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
What is typeof in c?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
What is a class c rental property?
What does c in a circle mean?
What is mean by data types in c?
What is a newline escape sequence?
How many levels of indirection in pointers can you have in a single declaration?
What are unions in c?
Write a progarm to find the length of string using switch case?
why programs in c are running with out #include
Write a program to print “hello world” without using semicolon?
Why is c so important?
What is string concatenation in c?
Write a program to reverse a given number in c?
How would you rename a function in C?