Functions and Subroutines

Q1:
Which of the following statements are correct about functions used in C#.NET?
  1. Function definitions cannot be nested.
  2. Functions can be called recursively.
  3. If we do not return a value from a function then a value -1 gets returned.
  4. To return the control from middle of a function exit function should be used.
  5. Function calls can be nested.

A 1, 2, 5

B 2, 3, 5

C 2, 3

D 4, 5

E None of these

ANS:A - 1, 2, 5

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.