For the linear function g(x)=x+c, c is a constant. If the graph of g(x) passes through the point (0,−15), what is the value of c?
−15
0
15
30