They meant x = 0.
Not sure if they meant that, since the “awful” was referring to the original loop that had no x, but the generic solution in that case is:
for (size_t i = size; i—- > x;)
Not sure if they meant that, since the “awful” was referring to the original loop that had no x, but the generic solution in that case is: