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'); }
1187main() { 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); }
1439
What are the 3 types of structures?
How do we make a global variable accessible across files? Explain the extern keyword?
What does == mean in texting?
What are the features of the c language?
Explain output of printf("Hello World"-'A'+'B'); ?
How to write a code for reverse of string without using string functions?
What does 3 periods mean in texting?
What is the size of a union variable?
explain how do you use macro?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
Place the #include statement must be written in the program?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
formula to convert 2500mmh2o into m3/hr
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
What is volatile variable in c?