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 |
When should the const modifier be used?
main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }
how to write hello word without using semicolon at the end?
Which command is more efficient? *(ptr+1) or ptr[1]
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what would be the output?
Is javascript based on c?
What are qualifiers?
Why do we use header files in c?
what is a c-language.what is do.
What are the functions to open and close file in c language?
what is the use of pointers
what is the output of below code int x=8,y; x>>=2; y=x; what is y value. NOTE:EXPLANATION IS COMPALSARY with binary bits