Friday 16 December 2011

68.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
Answer: Option A