When A Function Fun Is To Receive An Int A Single 038 A Double #191
When a function fun() is to receive an int, a single & a double and it is to return a decimal, then the correct way of defining this C# function is?
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.
When a function fun() is to receive an int, a single & a double and it is to return a decimal, then the correct way of defining this C# function is?
static fun(int i, single j, double k) { return decimal; }
static decimal fun(int i, single, double k) { }
decimal fun(int i, single j, double k) { }
decimal static fun(int i, single j, double k) { }