Concept Flow - Pointer and variable relationship
Declare variable x
Assign value to x
Declare pointer p
Assign address of x to p
Access value via *p
Modify x via *p
End
This flow shows how a pointer stores the address of a variable and can be used to access or modify that variable.