Computer Science, asked by sayalidoshi315, 8 days ago

Explain fopen( ) and fclose( ) function.​

Answers

Answered by llTriggerLipsll
1

\huge \mathcal \red{Answer:-}

  • fopen () function creates a new file or opens an existing file. fclose () fclose () function closes an opened file.
Answered by CuttestDevil
2

Answer:

Flopen -

The fopen() method in C is a library function that is used to open a file to perform various operations which include reading, writing etc. along with various modes. If the file exists then the particular file is opened else a new file is created.

Fclose -

The fclose() function in PHP is an inbuilt function which is used to close a file which is pointed by an open file pointer. ... It takes the file as an argument which has to be closed and closes that file.

Function -

A technical definition of a function is: a relation from a set of inputs to a set of possible outputs where each input is related to exactly one output. ... We can write the statement that f is a function from X to Y using the function notation f:X→Y.

Explanation:

Hope it will help you

keep smiling

and plz mark my answer as the brainliest

Similar questions