c style for loop