# DM-Sets,Relations and Functions-Q4

+1 vote

Below function is defined from positive integers to all integers

$\text{f(n) = (n-1)/2 if n is odd, }$

$\text{-n/2 if n is even }$

Which of the following statements is true?

(A). It is one to one but not onto

(B). It is onto but not one-one

(C). It is bijection

(D). It is neither One-One nor Onto