NVIDIA interview question

basic questions about C, FSM, linux