← Back to Question List
C# Quiz #47
Casting double to int
What does this code print?
📄 Code
1double d = 3.9;2int n = (int)d;3Console.WriteLine(n);
What does this code print?
1double d = 3.9;2int n = (int)d;3Console.WriteLine(n);