[Solved] programming task ask [closed]
[ad_1] There are a few issues here: Your program fails to compile because of the misplaced semi-colon in cout<<“\nNew String 2 is :”;<<b Your program crashes at strcpy(a,x); because you’re copying into a which is uninitialised – it has no memory allocated. You’d need to call new on a for this to work, which would … Read more