function returns address of local variable [-Werror=return-local-addr] code example
Example: warning: function returns address of local variable [-Wreturn-local-addr]
// Use memory allocation!!
char *str_to_ret = malloc (sizeof (char) * required_size);