#include &lt;iostream&gt;    using namespace std;    struct a    &#123;        int count;    &#125;;    struct b    &#123;        int* value;    &#125;;    struct c : public a, public b    &#123;    &#125;;    int main&#40;&#41;    &#123;        c* p = new c;        p-&gt;value = 0;        cout &lt;&lt; &quot;Inherited&quot;;        return 0;    &#125;
A. Inherited
B. Error
C. Runtime error
D. None of the mentioned
Answer:A
#include &lt;iostream&gt;    using namespace std;    struct a    &#123;        int count;    &#125;;    struct b    &#123;        int* value;    &#125;;    struct c : public a, public b    &#123;    &#125;;    int main&#40;&#41;    &#123;        c* p = new c;        p-&gt;value = 0;        cout &lt;&lt; &quot;Inherited&quot;;        return 0;    &#125;
A. Inherited B. Error C. Runtime error D. None of the mentioned