LogiQuest
Back to Operators
1

What is the output of the following program?

int x = 5;
int y = x++ + ++x;
Console.WriteLine($"{x} {y}");
Hard

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.