Doubt in understanding how s and e values are assigned

is s and e are automatically assigned 0 and n-1 by the compiler ?if yes then how?