#include &lt;stdio.h&gt;    void main&#40;&#41;    &#123;        double ch;        printf&#40;&quot;enter a value btw 1 to 2:&quot;&#41;;        scanf&#40;&quot;%lf&quot;, &amp;ch&#41;;        switch &#40;ch&#41;        &#123;        case 1:            printf&#40;&quot;1&quot;&#41;;            break;        case 2:            printf&#40;&quot;2&quot;&#41;;            break;        &#125;    &#125;
A. Compile time error
B. 1
C. 2
D. Varies
Answer:A
#include &lt;stdio.h&gt;    void main&#40;&#41;    &#123;        double ch;        printf&#40;&quot;enter a value btw 1 to 2:&quot;&#41;;        scanf&#40;&quot;%lf&quot;, &amp;ch&#41;;        switch &#40;ch&#41;        &#123;        case 1:            printf&#40;&quot;1&quot;&#41;;            break;        case 2:            printf&#40;&quot;2&quot;&#41;;            break;        &#125;    &#125;
A. Compile time error B. 1 C. 2 D. Varies