Discussion :: Functions and Subroutines
-
Which of the following statements are correct?
- C# allows a function to have arguments with default values.
- C# allows a function to have variable number of arguments.
- Omitting the return value type in method definition results into an exception.
- Redefining a method parameter in the method's body causes an exception.
- params is used to specify the syntax for a function with variable number of arguments.
Answer : Option C
Explanation :
No answer description available for this question.
Be The First To Comment