What are the functions to open and close file in c language?
Answer / Ram Narayan Prajapati
"FILE *fp = fopen("filename", "r"); // opens a file in read mode.n fclose(fp); // closes the file. "
| Is This Answer Correct ? | 0 Yes | 0 No |
What is volatile
progrem to generate the following series 1 12 123 1234 12345
Are the expressions * ptr ++ and ++ * ptr same?
What is the difference between fork() and vfork()?
What does extern mean in a function declaration?
extern static int i func() { i =10; i++; printf("%d \n",i); } main() { i =20; printf("%d \n",i); func(); printf("%d \n",i); }
In a switch statement, what will happen if a break statement is omitted?
What is const and volatile in c?
What is type qualifiers?
write a program for size of a data type without using sizeof() operator?
22 Answers HCL, IBM,
What is merge sort in c?
Explain null pointer.