What is the output of the following C++ code?
#include <iostream> using namespace std; int main () { int a; for (a = 1; a <= 1; a++) cout << a++; cout<< <<a; return 0; }
Reveal answer
Fill a bubble to check yourself
What is the output of the following C++ code?
#include <iostream> using namespace std; int main () { int a; for (a = 1; a <= 1; a++) cout << a++; cout<< <<a; return 0; }