#include <stdio.h> int main(void) { char name[13]; tmpnam(name); printf("Temporary name: %s\n", name); return 0; }