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
write a c program in such a way that if we enter the today date the output should be next day's date.
What is the purpose of clrscr () printf () and getch ()?
What is the difference between printf and scanf )?
Do pointers need to be initialized?
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.
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
what value is returned to operating system after program execution?
Explain function?
What is the difference between null pointer and wild pointer?
What is function prototype in c with example?
what is the basis for selection of arrays or pointers as data structure in a program
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
What is a structure and why it is used?
What is a good way to implement complex numbers in c?
What is string in c language?