Schneider Electric interview question

Problems on recursion, standard C, some firmware questions.