#include &lt;iostream&gt;    using namespace std;    int main&#40;&#41;    &#123;        void a = 10, b = 10;        int c;        c = a + b;        cout &lt;&lt; c;        return 0;    &#125;
A. 20
B. compile time error
C. runtime error
D. none of the mentioned
Answer:A
#include &lt;iostream&gt;    using namespace std;    int main&#40;&#41;    &#123;        void a = 10, b = 10;        int c;        c = a + b;        cout &lt;&lt; c;        return 0;    &#125;
A. 20 B. compile time error C. runtime error D. none of the mentioned
Explanation:void will not accept any values to its type. Sanfoundry Global Education & Learning Series – C++ Programming Language.