CMOS transistors are generally used for most applications because
the cost between CMOS and TTL is roughly the same but CMOS has a much better Noise Immunity because of the variable operating voltage range and they consume less power making them better for battery powered applications.
However TTL transistors are better for applications where speed is
needed because TTL have a lower Propagation Delay compared to CMOS. CMOS are also much more susceptible to damage from ESD.