Question: Consider the following snippet of code: string msg = for (int i = 6; i > 0; i--) { msg = msg + i; }

Consider the following snippet of code: string msg = for (int i = 6; i > 0; i--) { msg = msg + i; } Label1.Text = "Output is: + msg; Which of the following outputs is true? Select one: A. Output is: 123456 B. The code contains syntax errors C. Output is: 6543210 O D. Output is: 654321
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
