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 the return type of sizeof?
How do you use a 'Local Block'?
Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()
How can I recover the file name given an open stream or file descriptor?
Can U write a C-program to print the size of a data type without using the sizeof() operator? Explain how it works inside ?
what is the difference between #include<> and #include”…”?
int i=~0; uint j=(uint)i; j++; printf(“%d”,j);
What is the difference between CV and Resume ?
sqrt(x+sqrt(x+sqrt(x+sqrt(x))))=2; Find the value of x?
What is the difference b/w Structure & Class?
what is difference between getchar,putchar functions and printf and scanf function? does putchar show output only when input given to it
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array