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 |
int i=~0; uint j=(uint)i; j++; printf(“%d”,j);
What is the general form of #line preprocessor?
Write a program for Overriding.
How we can insert comments in a c program?
Which is the best sort method for library management?
What is pointer & why it is used?
explain what is a newline escape sequence?
how we can make 3d venturing graphics on outer interface
void main() { int i=5; printf("%d",i++ + ++i); }
Why doesn't C have nested functions?
while initialization of two dimensional arrays we can initialize like a[][2] but why not a[2][] is there any reason behind this?
12344321 123 321 12 21 1 1 how i print this program??
5 Answers DSR Management, Winit,