#include &lt;stdio.h&gt;    int X&#40;char *s, FILE *iop&#41;    &#123;        int c;        while &#40;c = *s++&#41;        putc&#40;c, iop&#41;;        return ferror&#40;iop&#41; ? EOF : 0;    &#125;
A. getc
B. putc
C. fgets
D. fputs
Answer:A
#include &lt;stdio.h&gt;    int X&#40;char *s, FILE *iop&#41;    &#123;        int c;        while &#40;c = *s++&#41;        putc&#40;c, iop&#41;;        return ferror&#40;iop&#41; ? EOF : 0;    &#125;
A. getc B. putc C. fgets D. fputs