static void Main(string[] args) { int a = 76; char b; b = (char)a; Console.WriteLine(b); Console.ReadLine(); }
a) Compiler will generate runtime error
b) Conversion is explicit type
c) Compiler will urge for conversion from ‘integer’ to ‘character’ data type
d) None of the mentioned
For the given set of C# code, is conversion possible?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
For the given set of C# code, is conversion possible?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!