0
What does it mean when we write for example *pi=&a ????
3 Antworten
+ 2
Probably p is a pointer to pointer variable
int i= 1;
int i2= 2;
int* a= &i;
int* b= &i2;
int** p= &b;
*p= &a;
assign to "p" the adress of "a" pointer
0
*p is a pointer variable.
*p points to the memory address of variable 'a'.
*pi is dereferencing a pointer.
You might wanna revise pointers tutorial.
0
thank you💪