Question: If a function fun() is to receive an int , a Single & a double and it is to return a decimal then which of the following is the correct way of defining this function?
Options
A : decimal static fun( int i, Single j, double k) { ... }
B : decimal fun( int i, Single j, double k) { ... }
C : static decimal fun( int i, Single j, double k) { ... }
D : static decimal fun( int i, Single j, double k) decimal { ... }
Functions and Subroutines - General Questions more questions
A function returns a value, whereas a subroutine cannot return....
Which of the following statements are correct about functions and....
Which of the following will be the correct output for....
What will be the output of the C#.NET code snippet....
Which of the following statements are correct?
Which of the following statements are correct about functions used....
How many values is a function capable of returning?
What will be the output of the C#.NET code snippet....
How many values is a subroutine capable of returning?
Which of the following CANNOT occur multiple number of times....
Attributes - General Questions more Online Exam Quiz
.NET Framework - General Questions
Enumerations - General Questions
Exception Handling - General Questions
Inheritance - General Questions
Interfaces - General Questions