would the code below (granted I didnt type it wrong) create a file and then write to it or create a file, and attempt to write to it although it is "out of scope" per say, created in a separate function, creating an error?
Code:int main() { file_stream_declaration(); char[15] characters_written = "characters"; fputs(characters_written, fopen); return 0; file_stream_declaration() { FILE *fopen("temporary_file.txt" "w+"); return 0; }