The difference between length of a certain brass rod and that of a steel rod is to be constant at all temperature. Is this possible?

Yes, it is possible as described below :
For difference of length to remain constant, the change in length of each rod must be equal at all temperatures.