Vidyalelo
C# Programming · Q82

Miscellaneous in C Sharp

Programming · C# Programming · question 82

Q82

What will be the output of the following C# code snippet? class Program static void Main(string[] args) double x = 2.0; double y = 3.0; double z = Math.Pow( x, y ); Console.WriteLine(z); Console.ReadLine();

A.
2.0
B.
4.0
C.
8
Answer
D.
8.0

Answer: Option C

Solution

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