title: Assign one struct to another in C
body: <p>Can you assign one instance of a struct to another, like so:</p>
  
  <pre><code>struct Test t1;
  struct Test t2;
  t2 = t1;
  </code></pre>
  
  <p>I have seen it work for simple structures, bu does it work for complex structures?<br>
  How does the compiler know how to copy data items depending on their type, i.e. differentiating between an <code>int</code> and string?</p>