FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
1751What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
1184main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
1438
What is chain pointer in c?
What is the purpose of 'register' keyword?
How do you write a program which produces its own source code as output?
Explain what are the standard predefined macros?
How can I recover the file name given an open stream or file descriptor?
What is #line?
Explain how do you determine the length of a string value that was stored in a variable?
What is the meaning of && in c?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
Why do we use main function?
What is structure padding and packing in c?
What are linker error?
What does it mean when the linker says that _end is undefined?
Explain b+ tree?
What is pointers in c?