

MCQOPTIONS
Saved Bookmarks
1. |
For the given set of code, is conversion possible?
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 datatype |
D. | None of the mentioned |
Answer» C. Compiler will urge for conversion from integer to character datatype | |