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);
}
When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these
1.What is a Data Structure? Explain its need? 2.What is a Directed Graph? Write an algorithm to find whether a Directed Graph is connected or not? 3.Explain the process of converting a Tree to a Binary Tree.
what is the use of keyword volatile??
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
How many main () function we can have in a project?
how to find string length wihtout using c function?
Write a program to print fibonacci series without using recursion?
What are bit fields? What is their use?
What is the difference between a function and a method in c?
How can I handle floating-point exceptions gracefully?
Explain pointer. What are function pointers in C?
Explain the difference between getch() and getche() in c?