What will be the output of this code?
#include iostream
using namespace std;
int main()
{
int g = 10;
if (g 10)
{
for (i = 0; i 10; i++)
cout i;
}
else
{
cout i;
}
return 0;
}

Posted on by