C program: To concatenate a string using a library function.

Output