+ 1
Can be assigned pointer to pointer
4 Answers
+ 4
Why don't you just try it? đ€
int n = 69;
int *pn = &n, *pm = pn;
printf("%d\n", *pm); // 69
int **ppn = pn; // pointer to pointer
printf("%d\n", *ppn); // 69
int ***pppn = ppn; // pointer to pointer to pointer
printf("%d\n", *pppn); // 69
+ 1
Can be more precise with your question? I don't know what you mean...
+ 1
can we do this
Int *p;
Int *q;
P=q;
+ 1
Yes you could do this. For example
int a;
int *p = &a;
int *q;
q = p;
would be correct.