IBM interview question

C and algorithm basics.. And about the project