Explain Basic concepts of C language?
No Answer is Posted For this Question
Be the First to Post Answer
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(); }
write a program of bubble sort using pointer?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
What is c mainly used for?
pierrot's divisor program using c or c++ code
What is LINKED LIST? How can you access the last element in a linked list?
difference between malloc and calloc
explain memory layout of a C program
What is the difference between malloc() and calloc()?
what is the output of the code and how? main() { int *ptr,x; x=sizeof(ptr); printf("%d",x); }
How is a two dimensional array passed to function when the order of matrix is not known at complie time?
int n=1; while(1) { switch(n) { case 1:printf("a"); n++; continue; case 2:printf("b"); n++; continue; default : printf("c"); break; } break; }