MCQ
Function $f: N \rightarrow N , f(x)=\left\{\begin{array}{l}x+1, x \text { is odd } \\ x-1, x \text { is even }\end{array}\right.$ is defined then, $f$ is __________ .
- Anot one-one and not onto
- Bmany-one and onto
- ✓one-one but not onto
- Done-one and onto