Broadridge Interview Question

Write a c program to find prime?