I'm currently developing a project and in one of my functions, I need to return the address of a `char*` variable.
Or maybe it's better to return the address of my string, but I don't know how to do this.

This is my code:

```
const char* rogner(){

    int tableauXY[2];

    tableauXY[0]=5;
    tableauXY[1]=8;

    string valeurs=to_string(tableauXY[0])+";"+to_string(tableauXY[1]);

    const char* val1=valeurs.c_str();
    return val1;
}

```