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 does typeof return in c?

1038


What is pragma in c?

1158


where are auto variables stored? What are the characteristics of an auto variable?

1034


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

1188


What is an auto variable in c?

1182


What is a pointer in c?

1469


What header files do I need in order to define the standard library functions I use?

1019


What is clrscr ()?

1072


How reliable are floating-point comparisons?

1059


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

1351


How can you allocate arrays or structures bigger than 64K?

1100


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

1053


What is multidimensional arrays

1084


Explain what is the benefit of using an enum rather than a #define constant?

1186


how to write a c program to print list of fruits in alpabetical order?

2263