If B has the discrete topology, then every function f:A à B is ___ but not necessarily _________.
(a) both open and closed, continuous
(b) open, continuous
(c) open, closed
(d) closed, open