References are functions. They hold a reference to a value stored somewhere. For example, given:
int i = 3; char const* s = "Hello World";
val, the expressions
above evaluates to a nullary function; the first one returning an
and the second one returning a
Learn more about references here.