A

Admin • 833K Points
Coach

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

  • (A) delete()
  • (B) fremove()
  • (C) frem()
  • (D) remove()
  • Correct Answer - Option(D)
  • Views: 24
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

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.