#include <iostream>
#include <cstring>
using namespace std;
class Node
{
public:
Node *next;
char Variable_name[32];
};
void Test( Node *& ret )
{
Node *temp = new Node;
temp->next = NULL;
strcpy( temp->Variable_name, "counter" ) ;
ret = temp;
} // end void
int main()
{
Node *Variable_list_head = NULL ;
Test( Variable_list_head ) ;
cout << Variable_list_head << endl;
cout << Variable_list_head->Variable_name << endl;
return 0 ;
} // end main()
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0cmluZz4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmNsYXNzIE5vZGUKewpwdWJsaWM6CiAgICBOb2RlICpuZXh0OwogICAgY2hhciBWYXJpYWJsZV9uYW1lWzMyXTsKfTsKCnZvaWQgVGVzdCggTm9kZSAqJiByZXQgKQp7CiAgTm9kZSAqdGVtcCA9IG5ldyBOb2RlOwogIHRlbXAtPm5leHQgPSBOVUxMOwoKICBzdHJjcHkoIHRlbXAtPlZhcmlhYmxlX25hbWUsICJjb3VudGVyIiApIDsKCiAgcmV0ID0gdGVtcDsKCn0gLy8gZW5kIHZvaWQKCgppbnQgbWFpbigpCnsKICBOb2RlICpWYXJpYWJsZV9saXN0X2hlYWQgPSBOVUxMIDsKCiAgVGVzdCggVmFyaWFibGVfbGlzdF9oZWFkICkgOwoKICBjb3V0IDw8IFZhcmlhYmxlX2xpc3RfaGVhZCA8PCBlbmRsOwogIGNvdXQgPDwgVmFyaWFibGVfbGlzdF9oZWFkLT5WYXJpYWJsZV9uYW1lIDw8IGVuZGw7CgogIHJldHVybiAwIDsKfSAvLyBlbmQgbWFpbigpCg==