References in C++

A reference is an alias — another name — for an existing variable. Unlike a pointer, a reference must be initialized when declared and cannot be made to refer to a different variable afterward.

Webcooks AI