Unsigned int reverse iteration with for loops May 2, 2023 by Tarik You can use for( unsigned int j = n; j-- > 0; ) { /*...*/ } It iterates from n-1 down to 0.