私のキャラクターポインターは、「Hello world」と言うメモリを指しています。これを他のポインターと比較し、後でstrcpyを実行したいと考えています。私はchar *でできることを座っています
char *A ="hello"
char *B ="";
strcmp(A,B); // this compares correctly because B points to diff string
strcpy(B,A); // will this statment copies the string alone or both will point to same memory