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

Answer Posted / ritu

Write a program to generate the first n terms in the series --- 2,3,5,7,11,...,17

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the advantages of a macro over a function?

641


What are the main characteristics of c language describe the structure of ac program?

605


What are pointers in C? Give an example where to illustrate their significance.

746


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

559


What is wrong with this declaration?

608






How can I read data from data files with particular formats?

599


Which of these functions is safer to use : fgets(), gets()? Why?

631


What should malloc(0) do?

608


Explain how can you be sure that a program follows the ansi c standard?

856


Is that possible to add pointers to each other?

894


Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..

642


What language is c written?

574


What is multidimensional arrays

624


Where is c used?

644


Write the syntax and purpose of a switch statement in C.

618