adplus-dvertising
frame-decoration

Question

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

Answer: (a).1, 2, 5

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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