Respuesta :
Answer:
// Here is code in C.
#include "stdio.h"
// create function to print all the combinations
void print_combi(char a,char b,char c)
{
// print all combinations of three characters
printf("%c%c%c %c%c%c %c%c%c %c%c%c %c%c%c %c%c%c\n",a,b,c,a,c,b,b,a,c,b,c,a,c,a,b,c,b,a);
}
// driver function
int main(void)
{
// create 3 char variable and initialize
char a='x',b='y',c='z';
// call the function
print_combi(a,b,c);
printf("\n");
// initialize with different character
a='1',b='2',c='3';
// call the function
print_combi(a,b,c);
printf("\n");
// initialize with different character
a='#',b='