What is the output?
#include iostream
using namespace std;
int main()
{
int g = 2;
if (g 2)
{
for (a = 0; a 2; a++)
cout a;
}
else
{
cout a;
}
return 0;
}

Posted on by