Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a c program that if the given number is prime, and
their rearrangement(permute) of that number is also prime.
Ex: Input is "197" is prime
Output: 791,917,179 is also prime.
Please any one tell me tha code for that

Answer Posted / sowmya

hello Sir,

If you dont mind, could you exlain that above code

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

`write a program to display the recomended action depends on a color of trafic light using nested if statments

2075


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

977


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1801


What is an operator?

1019


Explain how can I convert a number to a string?

1100


Compare and contrast compilers from interpreters.

1074


What are the types of bitwise operator?

1048


while initialization of array why we use a[][2] why not a[2][]...?

2303


What is this infamous null pointer, anyway?

988


Explain how does free() know explain how much memory to release?

1013


Why do some versions of toupper act strangely if given an upper-case letter?

1037


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

2277


What do you mean by a local block?

1027


What does the c in ctime mean?

1018


How many header files are in c?

983