Home » C# Programming » Operators

What will be the output of the C#.NET code snippet given below? int i, j = 1, k; for (i = 0; i < 5; i++) { k = j++ + ++j; Console.Write(k + " "); }

Correct Answer: 4 8 12 16 20

Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion