Anup and Basant,
Good Evening. Take a look on the code given below.
#include <stdio.h>
int main()
{
char i = 0;
for(i<=5 && i>=-1; ++i; i>0)
printf("%d\n", i);
printf("\n");
return 0;
}
How the initialization, condition, and counter is working, I am unable to figure out. I guessed, it works. But then also logic didn't strike.
The result was
1
2
.
.
127
-128
.
.
-1
Thanks,
Anon10020