I think the first loop will run as long as the *original is not "\0", the second will run as long as *add is not "\0" This is the condition. The "\0" should be found at the end of each string.
@alexBB
Yeah i get that but i want to know the logic behind it.
We can write while(*original !=\0) which would make sense but why does while(*original) means the same thing?