What will be printed out as a result of the following code's execution?

#include <iostream>

int main()
{
    int n = 10;
    for(;n--;) {
        std::cout << n;
    }
    return 0;
}

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback