What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
write a pgm to print 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1
f(*p) { p=(char *)malloc(6); p="hello"; return; } main() { char *p="bye"; f(p); printf("%s",p); } what is the o/p?
Difference between Function to pointer and pointer to function
What are the header files used in c language?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
write the output of following code .. main() { static int a[]={10,20,30,40,50}; int *ptr=a; static int arr[2][2]={1,2,3,4}; char str[]="ABCD * 4#"; char *s=str+2; int i,j; for(i=0;i<5,i++) printf("%d",*ptr++); for(i=0;i<2;i++) for(j=0;j<2;j++) printf("%d\n",*(*(n+i)+j)); printf("%c\n%c\n%c\n",*(str+2),*s++,*--s); }
Is there sort function in c?
write a statement to display all the elements array M(in reverse order? int M[8]={20,21,22,23,24,25,26,27};
What does static variable mean in c?
write a program in reverse the string without using pointer,array,global variable declaration,lib fun only using a function?
What is a struct c#?
how do you programme Carrier Sense Multiple Access