I can't mathematically understand how $\binom{n}{k}$, with $k<0$ or $k>n$, can be equal to $0$.
The part that I don't understand is (when $k < 0$) $\frac{n!}{k!\cdot (n-k)!}$, but $k!$ is undefined.
Also, when $k > n$, $\frac{n!}{k!\cdot (n-k)!}$, but $(n-k)!$ is undefined.
Is there any mathematical proof or it's just logic based on what the binomial coefficient means?