Examveda

What will be the output of the following C# code?
static void Main(string[] args)
{
    double a = 345.09;
    byte c = (byte) a;
    Console.WriteLine(c);
    Console.ReadLine();
}

A. 98

B. 89

C. 88

D. 84

Answer: Option B


Join The Discussion

Related Questions on Arrays and Strings in C Sharp