#include <stdio.h>
int main()
{
FILE* tmp = tmpfile();
if (tmp == NULL)
{
puts("Unable to create temp file");
return 0;
}
puts("Temporary file is created\n");
}
Categories: C language
46 Comments