Anonymous Content interview question

Pattern printing in C.