Q1: What will be the output of the following program? Also explain step by step how it works? CLO-2
#include using namespace std;int main(){ int i=2;switch(i){ case 1:cout<"case1>"case1><>case 2: cout<"case2>"case2><>case 3: cout<"case3>"case3><>case 4: cout<"case4>"case4><>default: cout<"default>"default><>}return 0;}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here