Print a member of struct that is a pointer to another struct?
<pre><code>typedef struct Monom{
    int coeficient;
    int exponent;
    struct Monom* Next;
    }Monom;

typedef struct list_polinom{
    struct Monom* First_element;
    }list_polinom;

int main(){
    struct list_polinom* Polinoms;
    struct Monom* Monoms;
    Polinoms = (struct list_polinom*)malloc( x * sizeof(struct list_polinom));
    Monoms = (struct Monom*)malloc(y * sizeof(stuct Monom));
    Polinoms[0].First_element = &amp;Monoms[z];
    Monoms[z].exponent = x;
    return 0;
    }
</code></pre>

<p>So i want to print <code>printf("%d\n",Polinoms[0].First_element.exponent</code>) but i got this error:</p>

<blockquote>
  <p>[Error] request for member 'exponent' in something not a structure or union</p>
</blockquote>

<p>what am I doing wrong?</p>

<p>Note: x, y ,z are integer numbers.</p>