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

What is variable in c example?

1133


What is auto keyword in c?

1251


Why is C language being considered a middle level language?

1209


What is character constants?

1231


Combinations of fibanocci prime series

1666


Are comments included during the compilation stage and placed in the EXE file as well?

1127


int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer

1092


What is difference between function overloading and operator overloading?

1141


what is event driven software and what is procedural driven software?

2622


What is #error and use of it?

1348


Write a program to check whether a number is prime or not using c?

1109


What is console in c language?

1142


How can you draw circles in C?

1197


Can you write a programmer for FACTORIAL using recursion?

1101


What is time null in c?

1111