A) The term that can refer to a boy but not to a girl is "bailarín," as it is the masculine form of "bailarina," which refers specifically to a female dancer.
B) The relationship between El Salvador and San Salvador is that San Salvador is the capital of El Salvador.