Q. Which of following statement are correct about functions? (Solved)

1. C# allows a function to have arguments with default values

2. Redefining a method parameter in the method’s body causes an exception

3. C# allows function to have arguments of private type

4. Omitting the return type in method definition results into exception

  • a. C# allows a function to have arguments with default values
Subscribe Now

Get All Updates & News