C语言——fclose用法

#include<stdio.h>
int main(void){
    FILE * flie
    file = fopen("user.txt","a");
    if (! file){
        printf("文件打开失败!");
    } 
    fputs("\n刘备  abc123",file);
    system("pause");
    fclose(file);             
    printf("文件已经关闭");
    system("pause");
    return 0; 
}

在这里插入图片描述