c++ nested structure initialization and accessing the members : <pre><code>struct Point
{
    double x,y;
};
Point p;
struct Disk
{
    Point center;
    int radius;
};
Disk d;
int main()
{  
   d.center.x=1.2;
   cout&lt;&lt;p.x;
}
</code></pre>

<p>Could someone please explain me the output of this code?
why am I not getting the value of x as 1.2 and 0 instead?</p>
