Vidyalelo
C# Programming · Q87

Arrays and Strings in C Sharp

Programming · C# Programming · question 87

Q87

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
Answer
C.
88
D.
84

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board