sorry my mistake, a minor mistake..
i think this is invalid
for(i=0;i<10;i+3)
{
--- some codes---
}
Printable View
sorry my mistake, a minor mistake..
i think this is invalid
for(i=0;i<10;i+3)
{
--- some codes---
}
So is this solved?
You understand that 'i' is not updated in the expression 'i+3'?
Code:for(i=0;i<10;i+=3)
(never mind, corrected!)