#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()
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0cmluZz4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmNsYXNzIE5vZGUKewpwdWJsaWM6CiAgICBOb2RlICpuZXh0OwogICAgY2hhciBWYXJpYWJsZV9uYW1lWzMyXTsKfTsKCnZvaWQgVGVzdCggTm9kZSAqKiByZXQgKQp7CiAgTm9kZSAqdGVtcCA9IG5ldyBOb2RlOwogIHRlbXAtPm5leHQgPSBOVUxMOwoKICBzdHJjcHkoIHRlbXAtPlZhcmlhYmxlX25hbWUsICJjb3VudGVyIiApIDsKCiAgKnJldCA9IHRlbXA7Cgp9IC8vIGVuZCB2b2lkCgoKaW50IG1haW4oKQp7CiAgTm9kZSAqVmFyaWFibGVfbGlzdF9oZWFkID0gTlVMTCA7CgogIFRlc3QoICZWYXJpYWJsZV9saXN0X2hlYWQgKSA7CgogIGNvdXQgPDwgVmFyaWFibGVfbGlzdF9oZWFkIDw8IGVuZGw7CiAgY291dCA8PCBWYXJpYWJsZV9saXN0X2hlYWQtPlZhcmlhYmxlX25hbWUgPDwgZW5kbDsKCiAgcmV0dXJuIDAgOwp9IC8vIGVuZCBtYWluKCkK