To apply the built-in gains tax on an S corporation, which of the following are required? Check all that apply:
A) Corporate tax return
B) Election to be taxed as an S corporation
C) Recognition of built-in gains within a certain timeframe
D) Approval from shareholders