Cognizant Interview Question

write a basic C program. like prime numbers.