trini10kal
trini10kal trini10kal
  • 25-02-2021
  • Computers and Technology
contestada

Give me two reasons why return statements are used in code.

Respuesta :

lindsayest
lindsayest lindsayest
  • 25-02-2021
It can stop the function when it’s no longer needed to keep running

And it can give a certain value to send back so it can be used elsewhere in your code
Answer Link
Аноним Аноним
  • 04-03-2021

Explanation:

The C language return statement ends function execution and ... the calling function at the point immediately following the call. ... For more information, see Return type.

Answer Link

Otras preguntas

Where are the first reports of new scientific discoveries published?
how to hard reset a iphone 7 without computer
The ksp of iron(ii) hydroxide, fe(oh)2, is 4.87 × 10-17. calculate the molar solubility of this compound.
please help posted picture of question
Consciousness probably arises from higher levels of _____ in the brain.
After much discussion and careful consideration, our school board has decided to consider volunteer service as a high school graduation requirement. The idea ha
What is the definition of planetary differentiation? mixing of materials to produce a new compound divisions of planets based on constituent materials separatio
Trees, solar energy, and water are examples of: nonrenewable resources. renewable resources capital. labor.
Which expression is equivalent to 14x − 7 + 3(2x − 5)?
Which of the following correctly explains the role of energy in photosynthesis?