#include &lt;iostream&gt;    using namespace std;    class sample1     &#123;        float i, j;    &#125;;    class sample2     &#123;        int x, y;        public:        sample2 &#40;int a, int b&#41;         &#123;             x = a;              y = b;        &#125;        int result&#40;&#41;         &#123;              return x + y;         &#125;    &#125;;    int main &#40;&#41;     &#123;        sample1 d;        sample2 * padd;        padd = &#40;sample2*&#41; &amp;d;        cout &lt; result&#40;&#41;;        return 0;    &#125;
A. 20
B. runtime error
C. random number
D. c or b
Answer:A
#include &lt;iostream&gt;    using namespace std;    class sample1     &#123;        float i, j;    &#125;;    class sample2     &#123;        int x, y;        public:        sample2 &#40;int a, int b&#41;         &#123;             x = a;              y = b;        &#125;        int result&#40;&#41;         &#123;              return x + y;         &#125;    &#125;;    int main &#40;&#41;     &#123;        sample1 d;        sample2 * padd;        padd = &#40;sample2*&#41; &amp;d;        cout &lt; result&#40;&#41;;        return 0;    &#125;
A. 20 B. runtime error C. random number D. c or b