The correct options are
A f:R→N, f(x)=x
B f:[0,∞)→[0,∞), f(x)=x2−1
f:R→N, f(x)=x
f(0)=0∉N
∴ Not a function
f:[0,∞)→[0,∞), f(x)=x2−1
f(0)=0−1=−1∉[0,∞)
∴ Not a function
For the other two options, each element in the domain has a unique image in the codomain, therefore, are functions.