For the linear function g, g(x)=2x+k, where k is a constant. When x=0,g(x)=−5. What is the value of k?
-5
0
2
5