Robert Bosch Interview Question

What doest this C code does?