Sunday, December 2, 2012
Prime Number Question
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?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment