61
What will be the output of the following C# code?
static void Main(string[] args)
{
int i = 10;
double d = 35.78;
fun(i);
fun(d);
Console.ReadLine();
}
static void fun(double d)
{
Console.WriteLine(d);
} Answer & Solution
Answer: Option
C
No explanation is given for this question. Let's Discuss on Board