About 40 people have been arrested and 10 injured as protesting students clash with police.