static void Main(string[] args) { float a = 10.553f; long b = 12L; int c; c = Convert.ToInt32(a + b); Console.WriteLine(c); }
a) 23.453
b) 22
c) 23
d) 22.453
What will be the output of the following C# code?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will be the output of the following C# code?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!