#include &lt;stdio.h&gt;    int main &#40;&#41;    &#123;        FILE * pFile;        char c;        pFile = fopen&#40;&quot;sample.txt&quot;, &quot;wt&quot;&#41;;        for &#40;c = 'A'; c &lt;= 'E'; c++&#41;         &#123;                putc &#40;c, pFile&#41;;        &#125;        fclose &#40;pFile&#41;;        return 0;    &#125;
A. ABCD
B. ABC
C. ABCDE
D. None of the mentioned
Answer:A
#include &lt;stdio.h&gt;    int main &#40;&#41;    &#123;        FILE * pFile;        char c;        pFile = fopen&#40;&quot;sample.txt&quot;, &quot;wt&quot;&#41;;        for &#40;c = 'A'; c &lt;= 'E'; c++&#41;         &#123;                putc &#40;c, pFile&#41;;        &#125;        fclose &#40;pFile&#41;;        return 0;    &#125;
A. ABCD B. ABC C. ABCDE D. None of the mentioned
Explanation:In this program, We are printing from A to E by using the putc function.