can the fopen() name your own file? For example
printf("Enter the name of the file you want to create");
scanf("%s", &name);
Then I want the scanned name to be the name of the file I want to create. Is there any way to do this? I know that you can just
fp = fopen("name of file.txt","w or a")
but what if the user asks for the name of the file itself?