Procedure Return Statement
What is the purpose of a return statement in a procedure?
A
To repeat the procedure indefinitely for debugging.
B
To end the procedure or return a value to the calling program.
C
Return statements are used to input data into the procedure.
D
To declare the starting point of the procedure.
Question Leaderboard
| Rank | |||||
|---|---|---|---|---|---|
| #1 | s13207 | 2 | 2 | 0m 00s | 200 |
| #2 | tianbo.shen | 1 | 1 | 0m 06s | 94 |
| #3 | rpatton | 1 | 1 | 0m 20s | 80 |
| #4 | gtsak31 | 1 | 1 | 0m 37s | 63 |
| #5 | soniahalepota2005 | 1 | 3 | 0m 46s | 34 |
| #6 | bhavneet.singhal | 1 | 1 | 1m 10s | 30 |
| #7 | afeldman0610 | 1 | 1 | 1m 58s | -18 |
| #8 | mahmoudjibrin08 | 0 | 1 | 0m 15s | -25 |
| #9 | jasonvikathompson | 2 | 5 | 6m 45s | -235 |
Items per page:
10
1 – 9 of 9
APFIVE