RT-RK interview question

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