title: How can I set a value using scanf in a nested struct in c without ->?
body: <p>I can't specify correctly the address of the variable cociente in scanf, I have been trying to obtain the memory address and i can't I hope you can help me.
  I am using 2 structs, both of them are dynamically allocated. These are the pieces of code that can clarify this.</p>
  
  <pre><code>typedef struct termino
  {
    int exponente;
    float cociente;
  } termino;
  
  typedef struct polinomio
  {
    //Se tiene un conjunto de términos de nombre polinomio
    termino* polinomio;
    int size;
  } polinomio;
  
    polinomio* polinomio_;
    termino* terminos;
    for (i = 0; i &lt; size_; i++) {
      printf("Ingrese el cociente %d:\n",i);
      scanf("%f",&amp;((*polinomio_).(polinomio+i).cociente));
      //printf("\n%.2f",(*(polinomio_).*(polinomio+i).cociente);
    }
  </code></pre>
  
  <p>I get the error using gcc: </p>
  
  <pre>
  main.c:37:32: error: expected identifier before ‘(’ token
       scanf("%f",&((*polinomio_).(polinomio+i).cociente));
                                  ^ 
  </pre>