I am solving an exercise and I don't understand exactly how this function that returns a pointer of type char would be working.
And how could I call it or transfer it to another variable in my main function,
To be more clear,
- I want to know how the return of a pointer of type char works
- I also want to know how I can invoke that string that I introduce in a function and be able to invoke it in my main function.
PSDT: The exercise asks us to use the function as it is there "char *load(void);" Thanks in advance.