Concept Flow - Why references are needed
Start with variable x
Create reference ref to x
Modify ref
x changes too
Use ref to avoid copying
Efficient and clear code
End
This flow shows how a reference links to a variable, allowing changes through the reference to affect the original variable, avoiding copies.