C
The number of students on one but not both of the two teams is the sum of the number of students on the basketball team plus the number on the tennis team minus the number on both teams: 15+18-11 =22. Since 22 students are on the basketball or the tennis team and 14 students are not on either team, there are 22+14 or 36 students in the class.