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
What is variable in c example?
What is auto keyword in c?
Why is C language being considered a middle level language?
What is character constants?
Combinations of fibanocci prime series
Are comments included during the compilation stage and placed in the EXE file as well?
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
What is difference between function overloading and operator overloading?
what is event driven software and what is procedural driven software?
What is #error and use of it?
Write a program to check whether a number is prime or not using c?
What is console in c language?
How can you draw circles in C?
Can you write a programmer for FACTORIAL using recursion?
What is time null in c?