Below are the various examples of diamond patterns that are made using the combination of stars. This diamond pattern includes full diamond, left and right half diamond, etc. And the program to print that diamonds are written in C programming language.
And below C concepts are used to print that patterns
- For Loop
- While Loop
- if..else
1). Program to print half pyramid pattern using star(*) in C

Output

2). Program to print left half diamond pattern using star(*) in C

Output

3). Program to print full diamond pattern using star(*) in C

Output
