> i came across the following 'for' statement in a code: > > for (pass=rx_str[ptr1+1]; ptr1 > i'm curious about about the 'ptr1 have never come across a for loop layed out in this way. > 1. is this valid? Yes, it is valid. It is unclear code, and I'm not sure that it does what the author wanted it to do. > 2. if so, is it the same as saying 'ptr1