#include <iostream>
using namespace std;
const int SIZE = 20;

void copy_array(char dest[], const char src[], int size)
{

   int i;
   for (i = 0; i < size; i++)
   {
      dest[i] = src[i];
   }
}

int main(void)
{
   char s[SIZE] = { \'H\',\'E\',\'L\',\'L\',\'O\' };
   char d[SIZE];

   copy_array(d, s, SIZE);
   cout << d << endl;

   return 0;


}
이게 copy array함수에서 리턴하지도않는데 어떻게
d값이 제대로 출력되는건가요