Pattern 18: hollow square Star pattern program in C using for loops

Write a C program to print the following Hollow Square Star pattern using for loops:

In this program we are going to discuss about the Hollow Square Star pattern program.

Here is an example output of pattern if the given input is 5.

Note: This program is one of the program in Series of Star Pattern programs in C

Hallow Square Star Pattern Program :

Output of Hollow Square star pattern program on GNU GCC: 


Related Programs :

More C programs:

C Tutorials with simple Examples:


Hi Guys, I am Venkatesh. I am a programmer and an Open Source enthusiast. I write about programming and technology on this blog.

You may also like...

Leave a Reply