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