It might be important to mention that even 50 cal ammo might be quite damaging to a carrier from WWII. They had wooden flight decks, so 50 cal or cannon fire would absolutely shread the flight deck. Wooden splinters would be flying everywhere and the deck would have tons of potholes in it. Also, except for British Carriers, the flight decks had minimal armor under them, so attacks from above with rockets could cause major damage. I don't think you could sink a carrier with .50s, but you sure could make a mess out of the flight deck.
There are several films of cargo ships and destroyers being blown apart after being strafed by allied planes. You would have to get very lucky and hit the magazine or something.
------------------
bloom25
THUNDERBIRDS