The for loop is completely nonsensical. It's like this:
for (initialization; condition; increment)
{
body
}
Where the roughly analogous while loop is:
initialization
while (condition)
{
body
increment
}
So your loop, for(i<=5&&i>=-1;++i;i>0) printf("%u",i); would look something like this while loop:
i <= 5 && i >= 1;
while (++i)
{
printf("%u", i);
i > 0;
}
Doesn't make much sense, does it?