The function takes a string input and replaces all occurrences of the letter "y" with the letter "C".

[CODE]:
```python
def f(x):
    return x.replace("y", "C")
```