|
Post by Admin on Nov 19, 2012 17:31:54 GMT -5
Write a function to test whether a given number is prime or not, function signature - int Prime (int x). The code should handle all possible test cases (like string input, buffer overflow, null, etc.). And also the alphabet input should be converted to its corresponding ASCII value and tested whether prime or not?
|
|