Multiple choice

Which procedure does not return a value?

  1. Private procedure

  2. Form procedure

  3. Sub procedure

  4. Property procedure

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

Sub procedures in Visual Basic perform actions but do not return a value to the calling code. Unlike Function procedures, Subs are used when you need to execute code without getting a return value.