Choose the most appropriate match to the below code snippet while( fgets (str, 60, fp)!=NULL ) { fputs(str,fp2); } code example
Example: fgets c
<open file>
while(fgets(<char array>, <size of array>, <file pointer>) != null)
<open file>
while(fgets(<char array>, <size of array>, <file pointer>) != null)