char str1[10] = "Hello";
allocates 10 characters, When concatenating, I think you would need 11 chars because the string needs to include the "end-of-string" ('\0') terminating character.
I guess replacing with
char str1[11] = "Hello";
would solve your problem.