#include &lt;stdio.h&gt;void main&#40;&#41;&#123;    int i = 0;    while &#40;i &lt; 10&#41;    &#123;        i++;        printf&#40;&quot;hi\n&quot;&#41;;        while &#40;i &lt; 8&#41; &#123;            i++;            printf&#40;&quot;hello\n&quot;&#41;;        &#125;    &#125;&#125;
A. Hi is printed 8 times, hello 7 times and then hi 2 times
B. Hi is printed 10 times, hello 7 times
C. Hi is printed once, hello 7 times
D. Hi is printed once, hello 7 times and then hi 2 times
Answer:A
#include &lt;stdio.h&gt;void main&#40;&#41;&#123;    int i = 0;    while &#40;i &lt; 10&#41;    &#123;        i++;        printf&#40;&quot;hi\n&quot;&#41;;        while &#40;i &lt; 8&#41; &#123;            i++;            printf&#40;&quot;hello\n&quot;&#41;;        &#125;    &#125;&#125;
A. Hi is printed 8 times, hello 7 times and then hi 2 times B. Hi is printed 10 times, hello 7 times C. Hi is printed once, hello 7 times D. Hi is printed once, hello 7 times and then hi 2 times