Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

statement that causes a function to end in c++

Return statement. The return statement stops execution and returns to the calling function. When a return statement is executed, the function is terminated immediately at that point, regardless of whether it's in the middle of a loop, etc.
 
PREVIOUS NEXT
Tagged: #statement #function
ADD COMMENT
Topic
Name
3+9 =