top of page
Search
helainelorraine507

Fgets-multiple-lines-stdin

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); } ...












fgets-multiple-lines-stdin


3925e8d270





2 views0 comments

Recent Posts

See All

Comments


bottom of page