Thinking questions on July 2

From , 3 Years ago, written in C, viewed 55 times.
URL https://pastebin.vip/view/e71e5cd1
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main() {
  4.   FILE *p;
  5.   char str[9];
  6.   if ((p = fopen("D:\\myname.txt", "r")) == NULL) {
  7.     printf("无法打开此文件\n");
  8.     exit(0);
  9.   }
  10.   fgets(str, 10, p);
  11.   puts(str);
  12.   return 0;
  13. }

Reply to "Thinking questions on July 2"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website