AMD interview question

String manipulation without using inbuilt functions in C