wat is the output
int main()
{
char s1[]="Hello";
char s2[]="Hello";
if(s1==s2)
printf("Same");
else
printf("Diff");
}
Answers were Sorted based on User's Feedback
What is void pointers in c?
int n=1; while(1) { switch(n) { case 1:printf("a"); n++; continue; case 2:printf("b"); n++; continue; default : printf("c"); break; } break; }
Difference between Function to pointer and pointer to function
Explain the use of bit fieild.
Is it valid to address one element beyond the end of an array?
What is an lvalue and an rvalue?
what is the output of below pgm? void main() { int i=0; if(i) printf("pass"); else printf("fail"); }
main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }
What is meant by recursion?
Is c dynamically typed?
What is spaghetti programming?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list