title: Line 27: expected primary expression before & token
body: <p>I'm trying to create an address book but I keep getting "<code>expected primary expression before '&amp;' token</code>".<br>
  I also want to be able to edit and create more then one address entry!</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  using namespace std;
  
  struct addressinfo
  {
      string Name;
      string Address;
      string Phonenumber;
  };
  addressinfo info;
  
  addressinfo gna(addressinfo&amp; info) {// get new address
      addressinfo accessinfo;
      info.Name;
      info.Address;
      info.Phonenumber;
      return accessinfo;
  }
  
  void address_menu() {
      int choice;
      cin &gt;&gt; choice;
      switch(choice) {
      case 1:
          addressinfo info = gna(addressinfo&amp; info);
          break;
      }
  }
  
  int main() {
      cout &lt;&lt; "Hello world!" &lt;&lt; endl;
  }
  </code></pre>