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: O A. Output is: 6543210 B. Output is: 123456 C. The code contains syntax errors D. Output is: 654321 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: O A. Output is: 6543210 B. Output is: 123456 C. The code contains syntax errors 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
