If the composite function f∘g:A→C is onto (surjective), it guarantees that the outer function f:B→C is onto. However, it imposes no requirement on the inner function g:A→B to be injective (one-to-one) or surjective (onto).
### Counterexample:
Let the sets be defined as:
A={1,2}
B={x,y,z}
Define the mappings:
g(1)=x, g(2)=x
f(x)=c, f(y)=c, f(z)=c
Checking the properties:
f is onto: range(f)={c}=C.
f∘g is onto: (f∘g)(1)=f(x)=c and (f∘g)(2)=f(x)=c, so range(f∘g)={c}=C.
g is NOT one-to-one: g(1)=g(2)=x with 1=2.
g is NOT onto: The elements y,z∈B are not mapped from any element in A.
Thus, g(.) is not required to be either one-to-one or onto.
Therefore, (D) is the correct statement.