Computer Science, asked by sayalidoshi315, 14 days ago

Explain fopen( ) and fclose( ) function.

________________________________

ello​

Answers

Answered by XxscholarXx
3

Answer:

fopen () function creates a new file or opens an existing file. fclose () fclose () function closes an opened file.

Explanation:

ello

Answered by divyanka2732
2

Answer:

  • 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 is a C function belonging to the ANSI C standard library, and included in the file stdio. h. Its purpose is close a stream and all the structure associated with it. Usually the stream is an open file
  • A function is defined as a relation between a set of inputs having one output each. In simple words, a function is a relationship between inputs where each input is related to exactly one output. Every function has a domain and codomain or range. A function is generally denoted by f(x) where x is the input.

Explanation:

follow and mark em brainliest

Similar questions