Suppose we have a function $f: A\to B$. Then we know, without specifying what $f$ is, that $f$ may or may not map to every element $b\in B$. If $f$ does map to every element $b\in B$ then it's surjective.
However, does the notation $f:A\to B$ imply that every element $a\in A$ is mapped to some unique $b\in B$?
Furthermore, is there a difference between domain and natural domain? If there is, how can we tell whether $A$ is a/the natural domain from the notation $f: A\to B$?
Suppose we consider the function defined this way: $f: \mathbb{R}\to \mathbb{R}, f=\frac{1}{x}$ Clearly, $f$ is not defined at $x=0$. Would it therefore be incorrect to write $f: \mathbb{R}\to \mathbb{R}, f=\frac{1}{x}$ instead of $f: \mathbb{R}\backslash \{0\}\to \mathbb{R}, f=\frac{1}{x}$?
The question is a bit clumsy. You are welcome to ask for clarification if this isn't clear enough.