Domanda di colloquio di Mercury Systems

What is the following code doing (pointers)? Write StrCat in C What is wrong with the following code(if statement bug)