How to purchase the CC ?

I am using the OS of Solaris10

if you only need a free cc compiler you could use the gcc
http://gcc.gnu.org/

if you need a profissional C compiler with support contact you local sun reseller and ask about the sun studio

gP