Vyshnav, a student of MBBS third year, suddenly collapsed while having dinner, the sources said.
His sister and brother-in-law, who are doctors, rushed him to a nearby private hospital while giving him first aid in the car, they said.
The doctors tried to revive him by putting him on ventilator and taking other measures, but in vain, the sources said.
The funeral took place at a crematorium in Saidabad in the afternoon.
Defence Minister Nirmala Sitharaman and Union Minister Santosh Gangwar attended the funeral, the sources said.
Vice President M Venkaiah Naidu spoke to Dattatreya and extended his condolences, the sources said, adding, top leaders also mourned the death.
Governor of Andhra Pradesh and Telangana ESL Narasimhan, several Telangana ministers and leaders of Congress and other parties extended their condolences.
Bandaru Dattatreya: Caught in a university storm
BJP leader: Bandaru Dattatreya mishandled the Rohith issue
Minimum wage revision will benefit 70 lakh workers: Dattatreya
Labour reforms in India may get going, finally
All you need to know about Modi's new ministers