[Math] The set of all real functions defined on [0,1] has cardinal number $2^c$

elementary-set-theoryreal-analysis

Prove that the set of all real functions defined on the closed unit interval [0,1] has cardinal number $2^c$.
it is easy to see that there exists as many as such functions i.e. the characteristic functions but I cannot prove the exact cardinality. so comments will be helpful

Best Answer

HINT: Use the fact that $|A^B|=|A|^{|B|}$, and show that $|\Bbb{R^R}|=2^{|\Bbb R|}$.