Question: In C#, a void function func will be passed three double arguments, X, Y, and Z. Y is optional with a default value of 1.0.

In C#, a void function "func" will be passed three double arguments, X, Y, and Z. Y is optional with a default value of 1.0. Which of the following is correct? Select one: a. void func (double X,Y=1,Z) b. void func (double X, double Y=1.0, double Z) C. void func (double X, double Z, double Y=1.0) d. None of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
