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 are qualifiers in c?
Do character constants represent numerical values?
What is nested structure with example?
explain what is fifo?
Is c# a good language?
Array is an lvalue or not?
Why isnt there a numbered, multi-level break statement to break out
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
What is floating point constants?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
Can a variable be both const and volatile?
How do you list a file’s date and time?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
What is signed and unsigned?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?