When three lines intersect each other at three different points, how many angles will be formed? (A) 3 (B) 6 (C) 12 (D) 24