Write a function called copyCString() that takes two C-Strings (char* with null terminator) s1 and 52 repectively as arg
Posted: Fri May 20, 2022 2:55 pm
Write a function called copyCString() that takes two C-Strings (char* with null terminator) s1 and 52 repectively as arguments. Write code to copy the contents of s2 into s1, until the null character is reached in s2. If the null character is reached in s1, terminate your loop (that means you stop copying s2 to 51). The function does not need to return anything.