You avoid double taxation by paying out all the profit of the corp to yourself each year. Or you can pay half to yourself and keep half in the corp to keep yourself in a lower tax bracket, can't do that with an LLC, at least I am not aware of it.