MCQ · 2 marks · Discrete MathematicsGATE CS 2012 CS — Q37How many onto (or surjective) functions are there from an nnn-element (n≥2)(n \geq 2)(n≥2) set to a 2-element set?Select one optionA.2n2^n2nB.2n−12^n - 12n−1C.2n−22^n - 22n−2D.2(2n−2)2(2^n - 2)2(2n−2)Check answer