What do companies gain by offering shares for sale in a stock market?

AThey capture a greater percentage of market share.
BThey reduce their expenses without reducing revenues.
CThey increase their working capital without taking on debt.
DThey face fewer restrictions from the government.