I know how to make function with int, double, float with user input inside(im currently using scanf).

```
int getData(){
    int a;
    scanf("%i",&a);
    return a;
}

```

but how to make function with string type and user input inside, then we return that value with type string?