Home / C# Programming / Functions and Subroutines :: Discussion

Discussion :: Functions and Subroutines

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

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

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    No answer description available for this question.


Be The First To Comment