What is the meaning of "(*objx).num;" in the context below
<pre><code>class Demo
{

         int num;
         public:
               Demo setMyValue(Demo *objx) 
               {
                   cout&lt;&lt;"\nEnter a number";
                   cin&gt;&gt;(*objx).num;
                   return *objx;
               }
               ...
};
</code></pre>

<ol>
<li><p>What is the meaning of the statement "(*objx).num" in this context?</p></li>
<li><p>Is it a good programming habit to use this style of taking input in a program?</p></li>
</ol>
