#include &lt;stdio.h&gt;    void func&#40;&#41;;    int main&#40;&#41;    &#123;        static int b = 20;        func&#40;&#41;;    &#125;    void func&#40;&#41;    &#123;        static int b;        printf&#40;&quot;%d&quot;, b&#41;;    &#125;
A. Output will be 0
B. Output will be 20
C. Output will be a garbage value
D. Compile time error due to redeclaration of static variable
Answer:A
#include &lt;stdio.h&gt;    void func&#40;&#41;;    int main&#40;&#41;    &#123;        static int b = 20;        func&#40;&#41;;    &#125;    void func&#40;&#41;    &#123;        static int b;        printf&#40;&quot;%d&quot;, b&#41;;    &#125;
A. Output will be 0 B. Output will be 20 C. Output will be a garbage value D. Compile time error due to redeclaration of static variable