title: changing the value of one of the pointer in case where, adrress of two pointers are same
body: <p>I have a problem,I saw that the address of two pointers are same as in question here(<a href="https://stackoverflow.com/q/19088153/1292348">Addresses of two pointers are same</a>), also answered by blue moon.
  Which lead me to some more doubts. Since both the pointers have same address I thought to change the value of one of the pointers, expecting value will be changed in other pointer too(since they have same address). But its giving segmentation fault. I am showing it in a code below.</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  #include&lt;string.h&gt;
  
  int main()
  {
      char * p = "abc";
      char * p1 = "abc";
      printf("%d\n %d\n", (void *)p, (void *)p1);
      printf("%s\n %s\n", p, p1);
      *p = 'b';
      printf("%d\n %d\n", p, p1);
      printf("%s\n %s\n", p, p1);
  }
  </code></pre>