Why this code is not working for Day 6 Hackerrank?

Why this code is not working for Day 6 Hackerrank?


Aryan use the beauty of string provided in C++, you dont have to maintain extra pointers, you just add to string directly as :
string a = “Coding”;
a+=“Blocks”;
now a is “CodingBlocks”

Sir, Didn’t understand it, Please help for it, Please check my code, I am not able to understand your solution.

@cbcao263 https://ide.codingblocks.com/s/234332
actually I gave you wrong link! apologies!!

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.