C Program for Prime Number

Prime Number in C :

  • It should be greater than 1
  • A number is prime if its only divisors are 1 and itself
  • All non-prime numbers less than 100 will have a divisor between 2 and 10.
Prime Number Program in C

Prime Number Program in C

OUTPUT for Prime Number Program in C

Prime Number Program in C

You can learn about C Program to print prime numbers from 1 to n here and for quires go to quora

1 thought on “C Program for Prime Number”

Comments are closed.