Continental interview question

c program to print prime number