C program to generate X pattern


 Sample Output:

You may also like...