Why the content of file pointer is null before using fscanf() and after using fscanf() it becomes the rest of the strings present in the file?

后端 未结 0 1979
野性不改
野性不改 2020-12-24 15:14
#include 

int main()
{
    FILE *ptr_01;
    char string_01[200];
    ptr_01 = fopen("myread.txt", "r");
    printf("%s &quo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题