How to access object slicing?
<pre><code>class A
{
public:
int i;
int j;

};

class B : public A
{
public:
int k;

};

main()
{
  A *a = new B;

}
</code></pre>

<p>is it possible to access slicing data?</p>
