
Originally Posted by
transgalactic2
can you give me an example with actual addreses to understand Node**p
because i am really confused you said that
*p does point to a node
but to a pointer node
but when i am saying that p points to *p
you say its wrong
Code:
#include <stdio.h>
int main()
{
int Temp = 50;
int* p1 = &Temp;
int** p_to_p = &p1;
printf("Integer:\t%i\n", Temp);
printf("p1:\t\t%p\n", p1);
printf("Integer:\t%i\n", *p1);
printf("p-to-p:\t\t%p\n", p_to_p);
printf("p1:\t\t%p\n", *p_to_p);
printf("Integer:\t%i\n", **p_to_p);
}