What does int & mean

A C++ question,

I know

int* foo(void)

foo will return a pointer to int type

how about

int &foo(void)

what does it return?

Thank a lot!

Leave a Comment