Why n++ execute faster than n+1 ?
Answers were Sorted based on User's Feedback
The expression n++ requires a single machine instruction such as INR to carry out the increment operation whereas, n+1 requires more instructions to carry out this operation.
| Is This Answer Correct ? | 1 Yes | 0 No |
The expression n++ requires a single machine instruction such as INR to carry out the increment operation whereas, n+1 requires more instructions to carry out this operation.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is difference between scanf and gets?
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Define and explain about ! Operator?
What are the average number of comparisons required to sort 3 elements?
What is n in c?
How do you sort filenames in a directory?
marge linklist
What does d mean?
Dont ansi function prototypes render lint obsolete?
What is a global variable in c?
m=++i&&++j(||)k++ printf("%d"i,j,k,m)
What is an example of structure?