#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"); 
} 

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *