In computing earnings per share, the number of shares used is ____
A、the year-end number of shares outstanding.
B、the beginning of the year number of shares outstanding.
C、the average of the beginning and the year-end number of shares outstanding.
D、the weighted average of shares outstanding for the year.