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

Answer Posted / vicky

++(*p)means first incrementing and then performing the
operation;
(*p)++ means first performing the operation and then
incrementing.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is volatile variable in c with example?

594


How to write a multi-statement macro?

631


What is meant by recursion?

640


difference between native and cross compilers

1684


What is a program flowchart and how does it help in writing a program?

676






Who invented bcpl language?

715


How can you allocate arrays or structures bigger than 64K?

700


What are the primitive data types in c?

584


If fflush wont work, what can I use to flush input?

629


Tell me is null always defined as 0(zero)?

683


What is a #include preprocessor?

633


When should a type cast be used?

583


What is void main ()?

622


Do you have any idea how to compare array with pointer in c?

615


What is main return c?

525