for a C corp the income taxes are deductible up to a reasonable amount (so its not quite two full income taxes). At a small level, it may more sense to make salary payments rather than dividends (depends on the scale)
last i recall, pub 535 discussed this