Difference between fopen() and open()?




Answers were Sorted based on User's Feedback



Difference between fopen() and open()?..

Answer / ada

open() is a system call, and fopen() is a stdio library
function.

Is This Answer Correct ?    29 Yes 2 No

Difference between fopen() and open()?..

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

Difference between fopen() and open()?..

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



Post New Answer



More C Interview Questions

What is diffrance between declaration and defination of a variable or function

4 Answers  


what do structure language means?

3 Answers   Microsoft,


difference between i++* and *++i

6 Answers   IBM,


Differentiate b/w Modify and Update commands giving example.

1 Answers  


WAP to find that given no is small or capital

3 Answers  






read the folllowing code # define MAX 100 # define MIN 100 .... .... if(x>MAX) x=1; else if(x<MIN) x=-1; x=50; if the initial value of x=200,what is the vlaue after executing this code? a.200 b.1 c.-1 d.50

4 Answers   TCS,


what is a non volatile key word in c language?

1 Answers  


Write code for atoi(x) where x is hexadecimal string.

5 Answers   Adobe,


how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?

0 Answers   TCS, Gopaljee,


Dear Sir, we are required the bubble sorting programs Regs Prem

1 Answers  


what is the flow of execution in cprogram? ex:printf();,scanf();

2 Answers  


what will be the out put. #include<stdio.h> void main() { printf("Output:"); printf(1+"vikashpatel"); }//output: ikashpatel

1 Answers   V2 Solutions,






Categories