CJCoding With Joseph
15free / daySign inCreate account
Back to Code Walkthrough

Char Arithmetic

C# code walkthrough · Question 36
hardCasting

Code

Read carefully. What does this print?
1char c = 'A';
2c = (char)(c + 3);
3Console.WriteLine(c);
4Console.WriteLine((int)'A');

Your answer