The function of king post in a king post roof truss is_______________?

The function of king post in a king post roof truss is_______________?

A. to support the frame work of the roof
B. to receive the ends of principal rafter
C. to prevent the walls from spreading outward
D. to prevent the tie beam from sagging at its centre