Feb 26, 2020 — Write a program in C to write multiple lines in a text file. ... fptr = fopen (fname,"w"); for(i = 0; i < n 1;i ) { fgets(str, sizeof str, stdin); fputs(str, fptr); } ...
DOWNLOAD: https://tinurli.com/2eqyfz
DOWNLOAD: https://tinurli.com/2eqyfz
fgets-multiple-lines-stdin
3925e8d270
Comments