Discussion :: Functions and Subroutines - General Questions (Q.No.11)
11. |
Which of the following statements are correct about functions used
in C#.NET?
- Function definitions cannot be nested.
- Functions can be called recursively.
- If we do not return a value from a function then a value -1 gets returned.
- To return the control from middle of a function exit function should be used.
- 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
Explanation:
No answer description available for this question.
|
Kevin said:
(Apr 6, 2018)
|
|
Yes, we can write a nested function in C# using delegates. |