What does the following return type actually mean

It means that the given function returns a reference to int variable. You can collect return value in an integer reference.

you can collect value as follows

int &val = abc();

Leave a Comment