C program to Display Prime Numbers between 1 to 1000 – Programming Code Examples