Write a program to print prime nums from 1-20 using c
programing?

Answer Posted / binati mishra

prime number 1 to 20:
1 2 3 5 7 11 13 17 19

Is This Answer Correct ?    31 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is #define used?

786


Are the expressions * ptr ++ and ++ * ptr same?

661


How do you redirect a standard stream?

618


Explain how can I read and write comma-delimited text?

646


Ow can I insert or delete a line (or record) in the middle of a file?

569






What is the purpose of sprintf?

611


Do pointers need to be initialized?

556


Differentiate between null and void pointers.

625


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

629


What language is lisp written in?

609


Where local variables are stored in c?

552


Can one function call another?

619


What is the use of typedef in structure in c?

536


What is line in c preprocessor?

607


Are the variables argc and argv are local to main?

780