I need an output, in which the string will be divided in pair of two letters.
As example I put this code bellow, but it prints M O N A R C H Y
, and what I need is: MO NA RC HY
char arr[8] = "MONARCHY";
int n = 8;
for (int i = 0; i < n; i++) {
printf("%*c", 1 + !!i, arr[i]);
}