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
why we wont use '&' sing in aceesing the string using scanf
What happens if you free a pointer twice?
write a proram to reverse the string using switch case?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
What are the advantages of Macro over function?
How are strings stored in c?
why do some people write if(0 == x) instead of if(x == 0)?
Is there any data type in c with variable size?
Write a program which returns the first non repetitive character in the string?
Why c is procedure oriented?
What the different types of arrays in c?
Do you know the use of 'auto' keyword?
How do you list a file’s date and time?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
Explain zero based addressing.