A circular prime is a prime number with the property that the number generated at each intermediate step
when cyclically permuting its (base 10) digits will be prime.The number, 379, is a circular prime because all rotations of the digits: 793, 937, and 379, are themselves prime numbers. The C/C++ Program provided in this Post prints all the Circular Prime numbers less than the given limit.

**Figure Below Shows a Sample Output**

**Click here to download the C++ Program.**

This comment has been removed by a blog administrator.

ReplyDeletePrime number program in C

ReplyDeleteThank you sit