Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is meant by inheritance?

0 Answers  


What is NULL pointer?

0 Answers   Infosys,


what is computer

4 Answers  


Why functions are used in c?

0 Answers  


How can I read/write structures from/to data files?

0 Answers  


#include <stdio.h> #define sqr(x) (x*x) int main() { int x=2; printf("value of x=%d",sqr(x+1)); } What is the value of x?

16 Answers   Accel Frontline, Opera, Oracle,


main() { int a=5; printf(?%d,%d,%d\n?,a,a< <2,a>>2); } Answer: 5,20,1 please explain this code in detail

6 Answers   TCS,


what is the function of pragma directive in c?

0 Answers  


What's the difference between constant char *p and char * constant p?

0 Answers   Celstream,


Does c have class?

0 Answers  


Is multithreading possible in c?

0 Answers  


What is the use of #include in c?

0 Answers  


Categories