Lukedoggg1964 Lukedoggg1964
  • 13-07-2019
  • Computers and Technology
contestada

The _________ statement causes a function to end immediately.

Respuesta :

PhantomWisdom PhantomWisdom
  • 18-07-2019

Answer:

return

Explanation:

return is the statement which is used to return the value from the function definition to the function calling.

it is also used as exit from the function.

for example:

int count()

{

     return 0;

     printf("hello");

}

In the above the function return 0 without print the message "hello". we can used return any where inside the function for immediately ending the execution of function.

Answer Link

Otras preguntas

What is influenced by climate, microclimate, latitude, altitude, and currents?
Find w12, the work done on the gas as it expands from state 1 to state 2.
For the vectors in the figure, with a = 16, b = 12, and c = 20 what are (a) the magnitude and (b) the direction of
What three countries did democracy vs dictatorship occur in Latin America during the 19th and 20th century?
How to round to the nearest whole number?
What is 998 divided by 9?
Find the rest of the sentence:je regarde avec?
factor completely: 4d^3+3d^2-14d
Every employee works 7 hours per day. every employee works 5 days per week. every employee works 49 weeks per year. how many days do the employee works
Help !!! Which did Puritans believe in? A. education for all B. independent path to spiritual truth C. equality between women and men D. religious tolera