More than one in three (36%) students say they have thought about dropping out of university due to the cost of rent, a survey has found.