Right answer is (b) k is negative
Easy explanation: Since this is a heat equation, the solution must be a transient solution, that is it should decay as time increases. This happens only when k is negative and the solution comes out to be (c’’cospx + c’’’sinpx) (c e^-c^2 p^2 t).