if I open a file that does not exist with mode r will the file pointer return as false? Example:
Will that return "File not found." or "File opened."?Code:FILE *filePtr = fopen(".//file_does_not_exist.dat", "r"); if(!filePtr) { printf("File not found."); } else { printf("File opened."); //other actions here }