what is difference between ++(*p) and (*p)++

Answer Posted / ravi

++(*p)-> indicates increment the value pointed by pointer p.

(*p)++ -> indicates increment the address of p then retrieve
the value pointed to by p.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can any one provide me the notes of data structure for ignou cs-62 paper

1700


How can you increase the size of a statically allocated array?

608


When the macros gets expanded?

781


What does 2n 4c mean?

710


State the difference between realloc and free.

627






Do you know what are bitwise shift operators in c programming?

581


Do you know the difference between exit() and _exit() function in c?

605


Is it possible to initialize a variable at the time it was declared?

755


Why c is called procedure oriented language?

576


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

1904


Can you please compare array with pointer?

613


Explain how do you override a defined macro?

579


How can I access an I o board directly?

620


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

1524


What is scanf () in c?

656