diff. between *p and **p

Answer Posted / virag shah

*p is a simple pointer which holds the address of another
variable.


while **p is a double pointer which holds address of the
pointer in which actual address of the another variable is
stored.

Is This Answer Correct ?    30 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of getch ()?

629


Is boolean a datatype in c?

539


What do you mean by c?

581


What is the auto keyword good for?

616


How reliable are floating-point comparisons?

621






What are the difference between a free-standing and a hosted environment?

736


Write a code of a general series where the next element is the sum of last k terms.

589


Is python a c language?

550


What is array of pointers to string?

562


What is the easiest sorting method to use?

632


How do I copy files?

619


How was c created?

586


What is the difference between NULL and NUL?

721


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1293


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1345