Which of the following statements are correct about functions?
A C# allows a function to have arguments with default values
B Redefining a method parameter in the method’s body causes an exception
C C# allows function to have arguments with default values
D Omitting the return type in method definition results into exception
Answer:C
Which of the following statements are correct about functions?
A C# allows a function to have arguments with default values B Redefining a method parameter in the method’s body causes an exception C C# allows function to have arguments with default values D Omitting the return type in method definition results into exception