Difference between fopen() and open()?
Answers were Sorted based on User's Feedback
Answer / ada
open() is a system call, and fopen() is a stdio library
function.
| Is This Answer Correct ? | 29 Yes | 2 No |
Answer / rinal doshi
open() is the function created by the user......... which
can be used to perform a specific task....
fopen() belongs to FILES..... this is a in built user
defined function which is used to open a file which is
already existing with the opening mode or create a new
file....and which returns a pointer
syntax:
file_ptr=fopen("file name","opening mode");
| Is This Answer Correct ? | 5 Yes | 7 No |
Answer / vignesh1988i
open() is the function created by the user......... which can be used to perform a specific task....
fopen() belongs to FILES..... this is a in built user defined function which is used to open a file which is already existing with the opening mode or create a new file....and which returns a pointer
syntax:
file_ptr=fopen("file name","opening mode");
| Is This Answer Correct ? | 2 Yes | 16 No |
What is meant by preprocessor in c?
find second largest element in array w/o using sorting techniques? use onle one for loop.
15 Answers BitWise, Zycus Infotech,
Print the foll in C...eg when n=5 the o/p must b + + + + + + + + + + + + + + + + +
What is memory leak in c?
All technical questions
Differentiate between calloc and malloc.
what is call by value and call by reference
Which of the following is not a valid declaration for main ()? 1) int main() 2) int main(int argc, char *argv[]) 3) They both work
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
How can I increase the allowable number of simultaneously open files?
write a program for 7*8 = 56 ? without using * multiply operator ? output = 56
How to set file pointer to beginning c?