Question:

What is the output of this program?

    #include <iostream>
    using namespace std;
    int main()
    {
        int a = 10;
        if (a < 10) {
            for (i = 0; i < 10; i++)
               cout << i;
        }
        else {
            cout << i;
        }
        return 0;
    }

 

Answers:


Keywords:

© 2017 QuizBucket.org