IBM Interview Question

They drew a star pattern and asked me how can I develop ta same using C language.