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 c program in such a way that if we enter the today date the output should be next day's date.

2196


What is the purpose of clrscr () printf () and getch ()?

1073


What is the difference between printf and scanf )?

1098


Do pointers need to be initialized?

1086


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

2865


Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

1124


what value is returned to operating system after program execution?

2124


Explain function?

1093


What is the difference between null pointer and wild pointer?

1198


What is function prototype in c with example?

1087


what is the basis for selection of arrays or pointers as data structure in a program

4309


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

1996


What is a structure and why it is used?

1229


What is a good way to implement complex numbers in c?

1053


What is string in c language?

1161