Stdio h C Tutorial

Item Value
Header filestdio.h
Declarationint remove(const char *fname);
Functiondelete file by *fname.
Returnreturns zero on success or nonzero on error.

#include 
  int main(int argc, char *argv[])
  {
    if(remove("test"))
           printf("Remove Error");
    return 0;
  }