Pregunta de entrevista de Indian Institute of Science

Write code to print diagonal matrix. (In C)