diff --git a/tests/work1 b/tests/work1 index 38a4308..d1f9c9d 100755 Binary files a/tests/work1 and b/tests/work1 differ diff --git a/tests/work1.c b/tests/work1.c index 53bd904..817d6e4 100644 --- a/tests/work1.c +++ b/tests/work1.c @@ -37,5 +37,17 @@ int main() printf("Hello, %s \n", person2.name); printf("Hello Ptr, %s \n", personPtr->name); + + // using linkedlist + struct student_tag* first = NULL; + struct student_tag* second = NULL; + struct student_tag* third = NULL; + + struct course_tag c1 = { "Computer", 4 }; + struct person_tag p1 = { "Sambo", "121214" }; + first->course_info = c1; + first->student_info = p1; + + return 0; } \ No newline at end of file