Assuming that your pseudo code 1) operates an exclusive test and 2) that there is an implicit increment by one involved; i.e. the values of C increase by one each time round the loop provided that the value after increment is less than but not equal to (N-1):
N = 5.
K = 0
C = {0, 1, 2, 3}
It would do nothing.
If either of these condition is not true, then it will fail, either because it will exceed the array limits, or it will never exit the loop.