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

What is keyword with example?

651


What is wild pointer in c with example?

587


What are dangling pointers in c?

654


What are local static variables? How can you use them?

653


Are negative numbers true in c?

608






In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

1639


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

1419


writ a program to compare using strcmp VIVA and viva with its output.

1538


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3201


Explain 'bus error'?

573


How does #define work?

660


What is s or c?

608


WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

1605


What language is windows 1.0 written?

588


What does 3 periods mean in texting?

606