SAMPLE C HANDS-ON

Write string functions pad, truncate, and concat with signatures indicated in this strmisc.h file . The following tester.c program uses these functions with the following resulting output.

Here is the solution to this hands-on exam.