what is difference between ++(*p) and (*p)++
Answer Posted / pooja
++(*p) means that first increment the value which is in
pointer p and then starts further execution.
(*p)++ means that first value is assigned and then
incremented.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is the difference between new and malloc functions?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
c language interview questions & answer
write a c program to find the sum of five entered numbers using an array named number
Can we declare a function inside a function in c?
The statement, int(*x[]) () what does in indicate?
Can the sizeof operator be used to tell the size of an array passed to a function?
Can you return null in c?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
What does. int *x[](); means ?
Why do we use & in c?
Can variables be declared anywhere in c?
What is #include called?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);