Accenture Interview Question

Write a code in C language such that output will be of Triangle shape.