Kaar Technologies Interview Question

write a program for diamond pattern in c