Question PRG-CPP-0029
EasyWhat is the output of this program?
#include <iostream>
using namespace std;
int main() {
for (int i = 3; i > 0; i--)
cout << i;
return 0;
}
- A.
3210
- B.
123
- C.
321
- D.
21
Sign up free to see the answer and a step-by-step explanation.