Accenture Interview Question

it was regarding a C program.