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 cohesion in c?
What is a class?
#include<stdio.h> #include<conio.h> # define swap(a,b) temp=a; a=b; b=temp; void main( ) { int i, j, temp; i=5; j=10; temp=0; if( i > j) swap( i, j ); printf( "%d %d %d", i, j, temp); }
What is the difference between null pointer and wild pointer?
Explain what is the difference between functions getch() and getche()?
What is a macro in c preprocessor?
What is the use of parallelize in spark?
What is array of pointers to string?
explain what are pointers?
Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors
Is it valid to address one element beyond the end of an array?
What is the difference between formatted&unformatted i/o functions?