What’s the best way to do a reverse ‘for’ loop with an unsigned index? June 10, 2023 by Tarik How about: for (unsigned i = n ; i-- > 0 ; ) { // do stuff with i }