For the given set of C# code, is conversion possible?
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
Code:
static void Main(string[] args)
{
int a = 76;
char b;
b = (char)a;
Console.WriteLine(b);
Console.ReadLine();
}
B. Conversion is explicit type
C. Compiler will urge for conversion from ‘integer’ to ‘character’ data type
D. None of the mentioned