I want to change this 'C' source to 'KM' source (char, while, i++)

I want to use the char command perfectly in 'KM'
This example is for it

int main()
{
char arr[27] = {"abcdefghijklmnopqrstuvwxyz"};
int i = 0;
while (1)
{
printf("%c\n", arr[i]);
if ( i > 22 )
{
break;
}
i++;
}
return 0;
}

thanx

This sentence has been translated from Korean