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 are the 5 data types?
Do you have any idea how to compare array with pointer in c?
What is #include cctype?
Was 2000 a leap year?
What is the acronym for ansi?
please send me the code for multiplying sparse matrix using c
What are the types of assignment statements?
What does main () mean in c?
What is the general form of a C program?
Does * p ++ increment p or what it points to?
What are the types of type qualifiers in c?
Explain argument and its types.
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
Explain the difference between getch() and getche() in c?
How can I send mail from within a c program?