126k views
5 votes
A value-returning function is

User Kah Tang
by
8.5k points

1 Answer

4 votes

Answer:

A function that returns a value is called a value-returning function. A function is value-returning if the return type is anything other than void . A value-returning function must return a value of that type (using a return statement), otherwise undefined behavior will result. Related content.

User Uchuujin
by
8.5k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.