Answer Posted / gv_shreenivas
The postfix ++ and -- operators essentially have higher
precedence than the prefix unary operators. Therefore, *i++
is equivalent to *(i++); it increments i, and returns the
value which i pointed to before i was incremented. To
increment the value pointed to by i, use (*i)++ (or perhaps
++*i, if the evaluation order of the side effect doesn't
matter).
Ref:comp.lang.c FAQ list ยท Question 4.3
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
what is reason of your company position's in india no. 1.
Should I learn c before c++?
What functions are in conio h?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
What are multidimensional arrays?
What is a structure member in c?
What is uint8 in c?
What is queue in c?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
Can the size of an array be declared at runtime?
What is modifier & how many types of modifiers available in c?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
Is swift based on c?
What does do in c?