P
PSN
The following code compiles fine with GCC. Isnt this supposed to be a
redefinition of 'i' error ...
main()
{
for (int i=0; i<10; i++)
cout << i << endl;
for (int i=10; i>0; i--)
cout << i << endl;
}
Thanks,
Prakash
redefinition of 'i' error ...
main()
{
for (int i=0; i<10; i++)
cout << i << endl;
for (int i=10; i>0; i--)
cout << i << endl;
}
Thanks,
Prakash