The correct option is C f is a one-one and onto function.
To have an inverse for the function f, f should be one-one and onto.
Each point in the domain should have a unique image in range.
So, it should be one-one.
And if it is not onto, then there will be no pre-image of the extra element, so inverse will not be possible.