In triangle ABC, angle A measures 40 degrees, and angle B measures 75 degrees. To find the measure of angle C, you can use the triangle sum theorem, which states that the sum of the angles in a triangle is always 180 degrees. What is the measure of angle C?