Vidyalelo
C# Programming · Q55

Operators and Expressions in C Sharp

Programming · C# Programming · question 55

Q55

What will be the output of the following C# code? static void Main(string[] args) float a = 16.4f; int b = 12; float c; c = a * ( b + a) / (a - b) ; Console.WriteLine("result is :" +c); Console.ReadLine();

A.
106
B.
104.789
C.
105.8546
Answer
D.
103.45

Answer: Option C

Solution

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