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
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(); }
What are the rules for the identifier?
Should a function contain a return statement if it does not return a value?
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)
What is 2c dna?
What is dynamic memory allocation?
What is c token?
What are the types of data files?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
What is the difference between break and continue?
Disadvantages of C language.
Is a house a mass structure?
How main function is called in c?
What is dynamic variable in c?
Why doesn't C support function overloading?