C program to print diamond pattern

This code print diamond pattern of stars.  Diamond shape is as follows:

Mohit Arora
Follow me