16
What is the output of the following program?
double d = 9.99;
int i = (int)d;
Console.WriteLine(i);DiscussEasy
Loading subject content…
Loading practice questions…
What is the output of the following program?
double d = 9.99;
int i = (int)d;
Console.WriteLine(i);What is the output of the following program?
var s = "text";
Console.WriteLine(s.GetType().Name);What is the output of the following program?
int a = 7, b = 2;
Console.WriteLine(a / b);
Console.WriteLine(a / 2.0);