Wipro Interview Question

C program for a clock, not the display.