from $\mathbb{N}$ to $\mathbb{N}$ there are $2^{\aleph_0}$ as you can define $2^{\aleph_0}$ functions as following: For every subset of $\mathbb{N}$ keep the numbers in the subset the same, and add 1 to the rest.
What about the cardinality of all montonic functions from $\mathbb{R}$ to $\mathbb{R}$?
Is it ${\mathfrak c}$ or $2^{\mathfrak c}$, ${\aleph_1}$ or ${\aleph_2}$
My intuition is to say that its cardinality is the same as the cardinality of the set of real continuous functions which is ${\mathfrak c}$, as monotonic functions are continuous except possibly at a countable number of points, but I couldn't come up with a concrete proof.