Akshay Sharma (17), who was shot by accused Anant Tyagi, has been shifted to a nearby hospital, police said.
Tyagi was taken into custody and the pistol was recovered from his possession, they said.
Police is yet to determine the reason behind the attack.