title: How to pointing a structure in procedure in C?
body: <p>I have a structure like this</p>
  
  <pre><code>typedef struct{
     int stat;
  }dot;
  </code></pre>
  
  <p>And I would like to acces this structure in a procedure like this</p>
  
  <pre><code>void change(dot *stat){
      stat[5][5].stat = 5;
  }
  
  int main(){
      dot mydottes[10][10];
      mydottes[5][5].stat = 3;
      change(&amp;mydottes);
      return 0;
  }
  </code></pre>
  
  <p>But when I compiled this, it return errors. So how to pointing a structure in a procedure?</p>
  
  <p>Best Regards</p>
  
  <p>(sorry for my bad english)</p>