Question: [ 3 . 3 . c ] What is the output of the following code? Int x = 1 , y - 2 y switch
c What is the output of the following code?
Int switch
switch
case
cout I am number one endl
cout "I am number two" endl
case : cout "I am number three" endl
cout "I am number four" endl
break;
default: cout "I am in the wrong game!" endl;
I am number three
I am number four
I am in the wrong game!
I am number one
I am number two
I am number one
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
