C# Programming - Functions and Subroutines - Discussion

Discussion :: Functions and Subroutines - General Questions (Q.No.18)


Which of the following statements are correct about subroutines used in C#.NET?

  1. If we do not return a value from a subroutine then a value -1 gets returned.
  2. Subroutine definitions cannot be nested.
  3. Subroutine can be called recursively.
  4. To return the control from middle of a subroutine exit subroutine should be used.
  5. Subroutine calls can be nested.

[A]. 1, 2, 3
[B]. 2, 3, 5
[C]. 3, 5
[D]. 3, 4
[E]. None of these

Answer: Option B


No answer description available for this question.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.