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
What is the use of sizeof?
Why do we use & in c?
What is operator precedence?
How are Structure passing and returning implemented by the complier?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
What does. int *x[](); means ?
Why is c called a structured programming language?
What is the difference between functions abs() and fabs()?
Is null a keyword in c?
What are identifiers c?
What are local variables c?
Explain how do you list a file’s date and time?
pierrot's divisor program using c or c++ code
What are pointers?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.