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 the use of f in c?
what is the role you expect in software industry?
writ a program to compare using strcmp VIVA and viva with its output.
What extern c means?
What is the difference between printf and scanf in c?
how to copy a string without using c function
What is the output for the program given below typedef enum grade{GOOD,BAD,WORST,}BAD; main() { BAD g1; g1=1; printf("%d",g1); }
what is bitwise operator?
What is a null pointer in c?
What is the general form of #line preprocessor?
what is pointer
What are compound statements?