#include &lt;iostream&gt;    using namespace std;    class Car    &#123;        public:        int speed;    &#125;;    int main&#40;&#41;    &#123;        int Car :: *pSpeed = &amp;Car :: speed;        Car c1;        c1.speed = 1;                   cout &lt;&lt; c1.speed &lt;&lt; endl;        c1.*pSpeed = 2;             cout  &lt;&lt; c1.speed &lt;&lt; endl;        return 0;    &#125;
A. 1
B. 2
C. Both a & b
D. None of the mentioned
Answer:A
#include &lt;iostream&gt;    using namespace std;    class Car    &#123;        public:        int speed;    &#125;;    int main&#40;&#41;    &#123;        int Car :: *pSpeed = &amp;Car :: speed;        Car c1;        c1.speed = 1;                   cout &lt;&lt; c1.speed &lt;&lt; endl;        c1.*pSpeed = 2;             cout  &lt;&lt; c1.speed &lt;&lt; endl;        return 0;    &#125;
A. 1 B. 2 C. Both a & b D. None of the mentioned
Explanation:In this program, We are printing the value by direct access and another one by using pointer to member.