Specific resistance of a material depends upon:

Lenght

Both A & B

Area

Temperature