please help me understand this code how does this work. I REALLY NEED TO UNDERSTAND how this work please pleaase just a short explanation maybe?
{
char plain[] = “abcdefghijklmnopqrstuvwxyz”;
char cipher[] = “bpduhijkaltxwmrzfoysvngeqc”;
char *copy;
int i;
// Loop through the plaintext a character at a time.
// and encode it. If no ciphertext character is found,
// leave the character as it is.
for (copy = cat; *copy != ‘\0’; copy++)
{
for (i = 0; i < 26; i++)
{
if(*copy == plain[i])
{
*copy = cipher[i];
break;