title: C array declaration and assignment?
body: <p>I've asked a similar question on structs <a href="https://stackoverflow.com/questions/744477/assignment-and-structs-in-c">here</a> but I'm trying to figure out how C handles things like assigning variables and why it isn't allowed to assign them to eachother if they are functionally the same.</p>
  
  <p>Lets say I have two arrays:</p>
  
  <pre><code>int x[10];  
  int y[10];  
  </code></pre>
  
  <p>Why won't x = y compile?  If they are both the same "signature" like that, then shouldn't you be able to assign them back and forth?</p>
  
  <p>Can I declare these in a way that would allow me to do that in C?  It makes sense to me that you would be able to, but maybe there is a way that this can be done?  Typedefs for structs seemed to be the solution, would it be the same for array declaration and assignment?</p>
  
  <p>I appreciate your guys help, I'm new to Stackoverflow but it has been a really good resource for me so far!</p>