(A) The teacher wished congratulations and success in life to Ali.
(B) The teacher wished congratulations to Ali and wished him success in life.
(C) The teacher congratulated Ali and wished him success in life.
(D) The teacher congratulated Ram and said wish you success in life.