Which Of The Following Statements Are Correct About Functions #188
Which of the following statements are correct about functions?
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Classes - Methods in Class - Quiz No.1.
Which of the following statements are correct about functions?
C# allows a function to have arguments with default values
Redefining a method parameter in the method’s body causes an exception
C# allows function to have arguments with default values
Omitting the return type in method definition results into exception