Correct option is (c) Both direction and time
To explain I would say: Moving shock wave is an example of unsteady flow which means that all its flow properties such as density, velocity, temperature are a function of both the direction (x) and time (t). Although stationary shock wave are steady flow, thus the flow properties are only a function of direction (x).