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 bit fields? What is the use of bit fields in a structure declaration?
What does s c mean on snapchat?
how can use subset in c program and give more example
Explain how do you determine the length of a string value that was stored in a variable?
Describe how arrays can be passed to a user defined function
how logic is used
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.
Once I have used freopen, how can I get the original stdout (or stdin) back?
How can I call a function with an argument list built up at run time?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
What is the function of this pointer?
What do you mean by recursion in c?
What is dynamic memory allocation?
What is static memory allocation?
Can we increase size of array in c?