what is difference between ++(*p) and (*p)++
Answer Posted / vikram
here,*is the value at address operater;
according to heirarchy of operators,*is given the first
preference and then ++;
++(*p) means first incrementation of value at address of p
takes place and then execution takes place;
on the other hand,(*p)++ means first execution takes place
and then value at address of p is incremented
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Can we declare variables anywhere in c?
Explain how can I remove the trailing spaces from a string?
Does free set pointer to null?
What are comments and how do you insert it in a C program?
What is a structure member in c?
Explain 'bus error'?
Explain pointer. What are function pointers in C?
Is c++ based on c?
I heard that you have to include stdio.h before calling printf. Why?
What are the parts of c program?
What is a char in c?
what are bit fields in c?
what is stack , heap ,code segment,and data segment
Does c have function or method?
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor