MCQs > IT & Programming > C# > Consider the following code output? static void Main(string[] args){ int i, j = 1, k; for (i = 0; i < 3; i++) { k = j++ - ++j; Console.Write(k + ' '); } }

C# MCQs

Consider the following code output? static void Main(string[] args){ int i, j = 1, k; for (i = 0; i < 3; i++) { k = j++ - ++j; Console.Write(k + " "); } }

 

Answer

Correct Answer: Infinity

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More C# MCQ Questions

search

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it