I Want to know why the first statements works and why not second one in c++
char a[10]=\"iqbal\"; // it works a=\"iqbal\"; // does not work
try:
char a[10]="iqbal"; char *my_a = a;
and work with my_a.