Vidyalelo
C# Programming · Q107

Arrays and Strings in C Sharp

Programming · C# Programming · question 107

Q107

Which of the following statements are correct?

A.
C SHARP allows a function to have arguments with default values
B.
C SHARP allows a function to have variable number of arguments
Answer
C.
Params are used to specify the syntax for a function having arguments
D.
Omitting the return value type in method definition results into an exception

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board