Mr.shabbir i think we cant do so bcoz a[i] is an array of pointers(as declared by gohgss) and what arg[1][i] points to is a character we cant store a charater into a pointer variable.Sorry if iam wrong