Answer :
There were several reasons why large numbers of Hindus and Muslims migrated immediately after India gained its independence but the best option is "(4) The subcontinent was divided into countries
based primarily on the location of religious
majorities"
based primarily on the location of religious
majorities"