dereferencing cpp code example
Example: dereferencing pointer in cpp
int x = 5;
int *p = &x;
x = x + 4;
x = *p + 4;
*p = *p + 4;
cout << x; //Output is 17
int x = 5;
int *p = &x;
x = x + 4;
x = *p + 4;
*p = *p + 4;
cout << x; //Output is 17