reference method 4 from the page
Refer to this for more information on return types.
char* fun_name(arg1, arg2, ..., argN) is a function that returns a pointer to a char. If you don’t wish to use it, you can use string instead.
1 Like