what is difference between ++(*p) and (*p)++
Answer Posted / vikram
here,*is the value at address operater;
according to heirarchy of operators,*is given the first
preference and then ++;
++(*p) means first incrementation of value at address of p
takes place and then execution takes place;
on the other hand,(*p)++ means first execution takes place
and then value at address of p is incremented
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is the meaning of 2d in c?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
What are the two types of structure?
How can I get random integers in a certain range?
Do you know the use of fflush() function?
Explain the use of #pragma exit?
Can you return null in c?
I need a sort of an approximate strcmp routine?
What is a constant?
Explain what are binary trees?
What is pre-emptive data structure and explain it with example?
What is multidimensional arrays
which is conditional construct a) if statement b) switch statement c) while/for d) goto
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
formula to convert 2500mmh2o into m3/hr