Question: What will the below program segment print? int i = 1; int result do { 0; if(i%2 = 0) result + i; i++; while(i
What will the below program segment print? int i = 1; int result do { 0; if(i%2 = 0) result + i; i++; while(i < 10); cout < < result;
Step by Step Solution
3.37 Rating (141 Votes )
There are 3 Steps involved in it
The given program will print the value of result after execut... View full answer
Get step-by-step solutions from verified subject matter experts
