struct test { test* next; }; int main(int argc, char* argv[]) { test t1; test t2; test t3; test* pt = &t1; pt->next = &t2; pt->next->next = &t3; }