how to return string from function in c code example
Example: how to make a function return a string c
const char* myName() {
char *name = "Flavio";
return name;
}
const char* myName() {
char *name = "Flavio";
return name;
}