diff. between *p and **p
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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)
What would be an example of a structure analogous to structure c?
What is variable declaration and definition in c?
What are the differences between new and malloc in C?
FILE PROGRAMMING
What are the 5 types of organizational structures?
in linking some of os executables are linking name some of them
write a program to fined second smallest and largest element in a given series of elements (without sorting)
why TCS selected more student in the software field from all institution.
#define d 10+10 main() { printf("%d",d*d); }
What is malloc calloc and realloc in c?