#include <iostream>
#include <cstring>
using namespace std;
void test(char **str)
{
cout << str[0] << endl;
cout << str[1] << endl;
}
int main(int argc, char* argv[])
{
char a[2][5];
strcpy(a[0],"abc");
strcpy(a[1],"def");
char *str1[] = {a[0], a[1]};
test(str1);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0cmluZz4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCnZvaWQgdGVzdChjaGFyICoqc3RyKQp7CiAgIGNvdXQgPDwgc3RyWzBdIDw8IGVuZGw7CiAgIGNvdXQgPDwgc3RyWzFdIDw8IGVuZGw7Cn0KaW50IG1haW4oaW50IGFyZ2MsIGNoYXIqIGFyZ3ZbXSkKewogICAgY2hhciBhWzJdWzVdOwogICAgc3RyY3B5KGFbMF0sImFiYyIpOwogICAgc3RyY3B5KGFbMV0sImRlZiIpOwoKICAgIGNoYXIgKnN0cjFbXSA9IHthWzBdLCBhWzFdfTsKICAgIHRlc3Qoc3RyMSk7CgogICAgcmV0dXJuIDA7Cn0=