Answer the problem.1 in C