what is difference between ++(*p) and (*p)++
Answer Posted / savita
++(*p) means address that contained in p is incremented.
(*p)++ in this case since both the operator are unary
operator , so it's priority is from right to left.Hence here
first address that contained in p is incremented & then
gives the value at that address.
| Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
Explain what is the advantage of a random access file?
Explain what is the benefit of using const for declaring constants?
What does printf does?
What is indirection?
What is hungarian notation? Is it worthwhile?
What does %p mean c?
What is meant by int main ()?
Explain goto?
What is the explanation for cyclic nature of data types in c?
What are the 32 keywords in c?
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
Are the outer parentheses in return statements really optional?
Why c language is called c?