#include &lt;stdio.h&gt;    int main&#40;&#41;    &#123;        char *str = &quot;hello, world\n&quot;;        str&#91;5&#93; = '.';        printf&#40;&quot;%s\n&quot;, str&#41;;        return 0;    &#125;
A. hello. world
B. hello, world
C. Compile error
D. Segmentation fault
Answer:A
#include &lt;stdio.h&gt;    int main&#40;&#41;    &#123;        char *str = &quot;hello, world\n&quot;;        str&#91;5&#93; = '.';        printf&#40;&quot;%s\n&quot;, str&#41;;        return 0;    &#125;
A. hello. world B. hello, world C. Compile error D. Segmentation fault