title: reference as parameter in C
body: <p>This appears to be a simple problem but I haven't had any luck searching for any answers so here goes. I have a struct Person with char* name and int age. I have the following method:</p>
  
  <pre><code>void Person_messup(struct Person &amp;who) {
      who.name="asdfasdf";
      who.age = 9001;
  }
  </code></pre>
  
  <p>compiling this code gives me the following error:</p>
  
  <pre><code>error: expected ; , or ) before &amp; token
  </code></pre>
  
  <p>I can implement the above just fine using pointers or even passing an object struct but I'm having trouble with this particular implementation. Thanks for the help!</p>