Multiple choice

Which of the following procedures returns a value?

  1. Sub procedure

  2. General procedure

  3. Function procedure

  4. Event procedure

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Function procedures return a value to the calling code using the Return statement or by assigning a value to the function name. This distinguishes them from Sub procedures which do not return values.