Program to concatenate a string