Domanda di colloquio di Tech Mahindra

How to write code to draw patterns in C language.