GD Star Rating

Prime numbers in C Language

Write a prime numbers in C Language program to generate prime numbers between 1 and n. User has to enter range of prime numbers and then program will print the prime numbers Between 1 to n.

prime numbers in C

We can find infinitely many prime numbers. Another way of saying this is that the sequence

2, 3, 5, 7, 11, 13, 17 ,19 and so on …… So you can find infinite number of prime Numbers.

Prime numbers in C Language Code