: In function 'int main()':
:7:31: error: cannot convert 'std::__cxx11::basic_string<char>::c_str' from type 'const char* (std::__cxx11::basic_string<char>::)() const noexcept' to type 'const char*'
7 | int n = strlen(string1.c_str));
| ~~~~~~^~~~~~~~~~~~~~~