I think segmentation fault error is dependent on the operating system you are using. I think if you run the code in Windows it will not give any error while when you run the same code in UNIX you will gate segmentation fault.
It will give a sementation faultThe pointer a is allocated just sufficient space to accomodate "Hello". When we add beyond that it will give a seg fault