#include &lt;iostream&gt;    using namespace std;    class Cat    &#123;        public:        int age;        int weight;    &#125;;    int main&#40;&#41;    &#123;        Cat f;        f.age = 56;        cout &lt;&lt; &quot;Gates is &quot; ;        cout &lt;&lt; f.age &lt;&lt; &quot; years old.\n&quot;;    &#125;
A. Gates is
B. Gates is 56 years old
C. Error
D. None of the mentioned
Answer:A
#include &lt;iostream&gt;    using namespace std;    class Cat    &#123;        public:        int age;        int weight;    &#125;;    int main&#40;&#41;    &#123;        Cat f;        f.age = 56;        cout &lt;&lt; &quot;Gates is &quot; ;        cout &lt;&lt; f.age &lt;&lt; &quot; years old.\n&quot;;    &#125;
A. Gates is B. Gates is 56 years old C. Error D. None of the mentioned
Explanation:In this program, We passed the value from main function to class and returning it to the main and then printing it.