The correct option is B) Heat.
The state variable is defined as the variable which depends only on the initial and final state irrespective of the final state. Temperature, pressure, volume are examples of state variables.
The path variable is defined as the variable which depends on the specific value that is reached. Distance and displacement are examples of path variables.