title: Take the address of a character in string
body: <pre><code>package main
  import (
      &quot;fmt&quot;
  )
  func main(){
      var str string = &quot;hello,world&quot;
      fmt.Println(&amp;str)
      fmt.Println(&amp;str[0])
  }
  </code></pre>
  <p>I'm a complete rookie in golang. Just started learning for a few
  days. Here is my problem:</p>
  <blockquote>
  <p>compiled error: cannot take the address of str[0]</p>
  </blockquote>
  <p>I searched &lt;&lt;the way to go&gt;&gt;. It says you cannot take the
  address of a character in a string. Why is it not allowed?</p>
  <p>Another confusion is that once you create a string, you
  cannot modify it anymore. Does that mean the string is in constant
  space?</p>