Say I call the function openFile in my main function:
openFile
int main() { FILE *fptr; char *file_name = "myfile.txt"; fptr = openFile(