what is difference between ++(*p) and (*p)++
Answer Posted / tejas
value that contained in p is incremented. (p is pointer.)
++(*p) --> pre-increment.
(*p)++ --> post-increment.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do you use a 'Local Block'?
Is malloc memset faster than calloc?
Is c language still used?
What are preprocessor directives in c?
What is difference between %d and %i in c?
What is sizeof array in c?
What is the equivalent code of the following statement in WHILE LOOP format?
Is fortran still used today?
Why enum is used in c?
What are the 5 data types?
What does double pointer mean in c?
How can a number be converted to a string?
There seem to be a few missing operators ..
Can you add pointers together? Why would you?
What is the difference between int main and void main in c?