Question: C program: Multiple Choice Answer 1 2 After executing the following code, the value of variable i becomes int i=1: switch (1) { case 1:

C program: Multiple Choice Answer

1

C program: Multiple Choice Answer 1 2 After executing the following code,

2

the value of variable i becomes int i=1: switch (1) { case

After executing the following code, the value of variable i becomes int i=1: switch (1) { case 1: i+=10; case 2: i+=20; case 3: i++; break; default: i++; break; } A A 31 B 11 C 32 D 33 Assume variable j is defined, then the value of the expression (=3. j++) is A 3 B 5 C 6 6 D 4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!