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);
}
What is difference between main and void main?
Is c language still used?
What is difference between %d and %i in c?
What is pragma c?
in C-programming language without using printf statement can we get output r not ? if yes how and if no also how ?
What is calloc() function?
What is stack in c?
What does the format %10.2 mean when included in a printf statement?
What is the explanation for the dangling pointer in c?
WRITE A PROGRAM TO FIND A REVERSE OF TWO NO
What would be an example of a structure analogous to structure c?
What is formal argument?