1.2 Implement a function void reversefchar* str) in Cor C++ which reverses a null-terminated string.
The question is quite simply. Just reverse the string. But since this is a null-terminated string WHICH MEANS no '\n' at the end but 'null'. The key is to find out the end.
Use a iteration to record the length.