Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Language/ProgramFlow/ReturnValue

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

It would be unsafe to return a reference to a local variable, but you can return a reference to a data member. Additional information about valid return types (includes interactive examples)