Do you normally feed corn snakes to that cobra? I don't understand why those 2 snakes were in the same place at the same time.
King cobras are snake eaters (some won't eat rodents at all, I'm assuming that's very true for babies) so I assume that corn was in there as a live feeder. I have no idea how the predator ended up being eaten by the prey.