Kaar Technologies interview question

write a program for diamond pattern in c