RT-RK Interview Question

printf("%d"); What does it do? Algorithm to find angle between clock needles.