Friday 16 December 2011

74.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