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

Solve the system of equations. V = 4x+1 y = x^2+ 2x-2
there are ten names in a hat. how many ways are there to draw three names for first, second and third prizes from the hat, assuming each person can win only one
What is the area of the composite figure? Will mark brainlyest!!
Please can someone help me with this?​
Could someone please tell me the name of this branched alkane?
je dois répondre à des questions sur le roi arthur : pourquoi peut-on dire que le chevalier Lancelot trahit Arthur? Comment le magicien Merlin fait-il pour qu'A
Which of the following lists disadvantages of nuclear power? nuclear power produces radioactive waste and air pollutants. nuclear power uses up petroleum produc
Question 5 of 5 Which sentence contains the best example of simile? о A. We hid like rabbits as the storm circled us like a pack of wolves. B. My fellow sports
how did canada participation in world war II affect the economy?
How should I write a thesis statement? How to and examples.