I have a problem,I saw that the address of two pointers are same as in question here(Addresses of two pointers are same), 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.
#include<stdio.h>
#include<string.h>
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);
}