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

Why is the executive branch of the federal government necessary for a democratic America?
When a substance goes directly from solid state to a gaseous state as dry ice does?
The Long family spent $38.62 for school supplies and $215.78 for new school clothes. They paid % sales tax on their
What is the penetrating power of alpha
When a muscle cell demands energy to contract, what happens to ATP? A) ATP makes more ATP B) ATP is hydrolyzed and turned into ADP C) ATP is phosphorylate
how did the colonists react to Britain's economic policies
First evidence of Neolithic civilizations
Norbert works in a beauty salon. he receives a 50% employee discount for salon services. in 2016, he used his discount to buy $1,000 of services with a fair mar
The scale of a map is 1 in. :500 mile. City A is 650 miles from City B. How far is it's distance on the map?
Muslims think that christianity is a monotheistic religion true or false world studies