主页
C 语言
C NULL 值
demo_null
运行 ❯
×
更改方向
保存代码
更改主题
#include
int main() { FILE *fptr = fopen("nothing.txt", "r"); if (fptr == NULL) { printf("Could not open file.\n"); return 1; } fclose(fptr); return 0; }
Could not open file.