A function f from the set of natural numbers to integers defined by f(n)=
{n−1/2, where n is odd
−n/2, where n is even is
A. One-one but not onto
B. Onto but not one-one
C. One-one and onto both
D. Neither one-one nor onto