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