Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

2323


What are the rules for the identifier?

1180


Should a function contain a return statement if it does not return a value?

1097


GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)

1115


What is 2c dna?

1093


What is dynamic memory allocation?

1349


What is c token?

1080


What are the types of data files?

1215


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

2186


What is the difference between break and continue?

1564


Disadvantages of C language.

1116


Is a house a mass structure?

1112


How main function is called in c?

1141


What is dynamic variable in c?

1047


Why doesn't C support function overloading?

2796