Example & Tutorial understanding programming in easy ways.

What is the difference between reference and pointer?

Reference behaves like an alias for an existing variable, i.e., it is a temporary variable.

while, 

pointer have actual  space in memory which point to another memory.

Read More →