T

Team MCQ Buddy • 20.45K Points
Instructor III

Q. Which function is used to delete an existing file in C?

  • (A) delete()
  • (B) fremove()
  • (C) frem()
  • (D) remove()

Explanation by: Team MCQ Buddy
In C programming language, the remove() function is used to delete an existing file.

Syntax:

int remove(const char *filename);
Where, filename is the name of the file to be removed.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics