Function is a block of code which performs a specific task.

learn more… | top users | synonyms

2
votes
1answer
198 views

Why function returning by Address can not be a Lvalue?

Why it is not possible to make it LValue if a function return by address (while possible in case of reference)? int* returnByAdress() { int x =20; return &x; } int& ...