1.

Which of 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» B. Redefining a method parameter in the method’s body causes an exception


Discussion

No Comment Found