Cubik Innovation interview question

Read through this example C code and tell me what it does.