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
How many parameters should a function have?
How can you restore a redirected standard stream?
Why string is used in c?
hi any body pls give me company name interview conduct "c" language only
What is the right type to use for boolean values in c?
Is multithreading possible in c?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
What is %lu in c?
What is the function of this pointer?
Tell me what is null pointer in c?
Why c is a mother language?
What is difference between static and global variable in c?
Is array a primitive data type in c?
what is the difference between class and unio?
What does 3 mean in texting?