#include &lt;stdio.h&gt;    #include &lt;string.h&gt;    int main&#40;&#41;    &#123;        char line&#91;3&#93;;        fgets&#40;line, 3, stdin&#41;;        printf&#40;&quot;%d\n&quot;, strlen&#40;line&#41;&#41;;        return 0;    &#125;
A. 3
B. 1
C. Any length since line did not end with null character
D. Depends on the standard
Answer:A
#include &lt;stdio.h&gt;    #include &lt;string.h&gt;    int main&#40;&#41;    &#123;        char line&#91;3&#93;;        fgets&#40;line, 3, stdin&#41;;        printf&#40;&quot;%d\n&quot;, strlen&#40;line&#41;&#41;;        return 0;    &#125;
A. 3 B. 1 C. Any length since line did not end with null character D. Depends on the standard