Diebold Nixdorf Interview Question

String manipulation in C