C++ Institute CPA-21-02 Question Answer
What happens when you attempt to compile and run the following code?
#include
using namespace std;
int main() {
int i, j;
for(i = 0; i < 2; i++) {
for(j = i; j < i + 1; j++)
if(j == i)
continue;
else
break;
}
cout << j;
return 0;
}