diff. between *p and **p

Answers were Sorted based on User's Feedback



diff. between *p and **p..

Answer / 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

diff. between *p and **p..

Answer / abhijeet kankani

Ya,the person is riht *p is just pointer which holds the
address of any variable(identifier)
where as **p is pointer to pointer which holds
address of another pointer

Is This Answer Correct ?    8 Yes 1 No

diff. between *p and **p..

Answer / sivavendra

yeah,,,its right,,,
*p is a ptr tat holds the address of another variable....where as **p is a double ptr which hold the address of another pointer and that pointer hold the address of the data....

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

what is the difference between entry control and exit control statement?

12 Answers   Darbari Lal DAV Model School,


given the piece of code int a[50]; int *pa; pa=a; to access the 6th element of the array which of the following is incorrect? a.*(a+5) b.a[5] c.pa[5] d.*(*pa + 5)

6 Answers   amu, TCS,


What would be an example of a structure analogous to structure c?

0 Answers  


What is variable declaration and definition in c?

0 Answers  


What are the differences between new and malloc in C?

0 Answers   Amazon,






FILE PROGRAMMING

0 Answers   Wipro,


What are the 5 types of organizational structures?

0 Answers  


in linking some of os executables are linking name some of them

0 Answers   IBM,


write a program to fined second smallest and largest element in a given series of elements (without sorting)

9 Answers   Yahoo,


why TCS selected more student in the software field from all institution.

5 Answers   TCS,


#define d 10+10 main() { printf("%d",d*d); }

6 Answers  


What is malloc calloc and realloc in c?

0 Answers  


Categories