When a corporation has both preferred and common stock outstanding, earnings per share is computed by dividing net income
a. by ending common shares outstanding.
b. by weighted average common shares outstanding.
c. less preferred dividends by ending common shares outstanding.
d. less preferred dividends by the weighted average of common shares outstanding.