Q. Write a C program to print the following character pyramid as:
ABCD
BCDA
CDAB
DABC
Ans.
Cross-reference: Before you read answer of above program, i recommend to read Number Rectangle Program for easily understand this program.
/*c program for character pyramid*/
#include<stdio.h>
int main()