Two rods of different materials having differnet lengths and same cross sectional areas are joined end to end in a straight line. The free ends of this compound rod are maintained at different temperatures The temperature gradient in each rod will be .
A. same
B. zero
C. directly proportional to thermal conductivity of rod
D. inversely proportional to thermal conductivity of the rod .