Four university students killed in a crash died of head injuries or multiple injuries, the opening of an inquest has heard.