eSparkBiz interview question

Diamond pattern problem in C.