Wipro Interview Question

Basic c programming like program for finding prime numbers upto given number.