Axxcelera Interview Question

problem solving in c language