char pointer value reassignment : <pre><code>#include&lt;stdio.h&gt;
#include&lt;string.h&gt;
int main()
{
    int i=0;
    char *b,*a="a(a+b))";
    b=a;
    printf("%s",b);
    printf("%d",a);
    while(a[i]!='\0')
    {
        a++;
        i++;
    }
    *a="(a+b)";
    printf("%s",a);
}
</code></pre>

<p>initialy  i am assigning a value to that char pointer
after moving it to the end using null comparision
can i again assign a value to that char pointer?
Can i do like this? 
what is wrong here? can anyone please explain??</p>
