Question: What's the output of this program? Output #include main() int i = 5; switch(i) case 2: cout2:>5>c++:> main() Output int i; forti - 6>2; 1-2)
What's the output of this program? Output #include main() int i = 5; switch(i) case 2: cout"2":>"5">"c++:> main() Output int i; forti - 6>2; 1-2) cout 12. What's the output of this program? Output #include mainot int ctr; for (etr -10; ctr>3; ctrct-3) { cout"*:> main() { inter; for (etr = 0; ctec?; ctr++) { cout Output 14. What's the output of this program? #include main() { int x = 10; while(x - 1) if(x=> main() { int x = 10; do if(x=>= 9);;>"*:>":>
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
