Difference between fopen() and open()?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I get random integers in a certain range?

788


What is c variable?

797


What is a pointer in c?

976


How a string is stored in c?

809


What is null pointer in c?

752


What is meant by recursion?

827


What are the rules for the identifier?

882


What is operator promotion?

816


Are pointers integer?

761


What is the meaning of && in c?

750


What is c preprocessor mean?

1031


Explain that why C is procedural?

896


How do I send escape sequences to control a terminal or other device?

835


What is the use of printf() and scanf() functions?

820


what are non standard function in c

1644