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
What is bubble sort in c?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
Write a program of prime number using recursion.
Explain the difference between call by value and call by reference in c language?
What are the 4 data types?
What is meant by 'bit masking'?
How many types of operator or there in c?
What header files do I need in order to define the standard library functions I use?
What is the size of enum in c?
Explain how can you restore a redirected standard stream?
write a program in c language to print your bio-data on the screen by using functions.
Write a progarm to find the length of string using switch case?
What is dynamic memory allocation?
What are reserved words with a programming language?
What is nested structure with example?