> 
> **Possible Duplicates:**  
> 
> [C - determine if a number is prime](https://stackoverflow.com/questions/1538644/c-determine-if-a-number-is-prime) 
> 
> 
> 

Is there any way to test easily in C whether a selected number is prime or not?