eSparkBiz Interview Question

Diamond pattern problem in C.