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

Explain the advantages and disadvantages of macros.

0 Answers   TCS,


Explain what is the general form of a c program?

0 Answers  


int *p=20; if u print like dis printf("%d",p); o\p:- 20; how is it possible? plz give me the explanation.

15 Answers   Global Edge,


what is the definition of storage classes?

3 Answers   Wipro,


in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures

0 Answers  






Define function ?Explain about arguments?

2 Answers   Geometric Software, Infosys,


What is scope and lifetime of a variable in c?

0 Answers  


Is there a way to switch on strings?

0 Answers  


what is the difference between static variable and register variable?

3 Answers  


How to establish connection with oracle database software from c language?

0 Answers  


What is meant by keywords in c?

0 Answers  


Differentiate between a structure and a union.

0 Answers   Zensar,


Categories