int main() {
FILE *fptr;
// Create a file on your computer (filename.txt)
fptr = fopen("filename.txt", "w");
// Close the file
fclose(fptr);
return 0;
}
This is just an example of how it may look like on your computer when you create a file in C: