Multiple choice

Which of the following is the correct Sub-procedure declaration?

  1. Private Sub Month( )

  2. Call Month ( )

  3. Sub Dis_statement ( ) As Integer

  4. Sub FindError (intsal as Integer)

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

Option D is a valid Sub-procedure declaration with a parameter. Option A is also valid, but D is more descriptive of a procedure with parameters.