Which procedure does not return a value?
-
Private procedure
-
Form procedure
-
Sub procedure
-
Property procedure
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.