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

Answer Posted / amaresh chandra das

++(*p)-> Here ,increments the address of p
(*p)++ -> Here , Increments the Value of p

Is This Answer Correct ?    5 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are global variables static in c?

681


What is restrict keyword in c?

647


Why is structure padding done in c?

652


When should the const modifier be used?

660


How can I determine whether a machines byte order is big-endian or little-endian?

627






how logic is used

1504


How can you determine the maximum value that a numeric variable can hold?

643


Why cant I open a file by its explicit path?

595


What is the main difference between calloc () and malloc ()?

576


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

615


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

687


Can you please explain the difference between syntax vs logical error?

699


One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

2162


If the size of int data type is two bytes, what is the range of signed int data type?

596


How are strings stored in c?

599