]> 4ch.mooo.com Git - 16.git/blobdiff - src/palllist.c
i did a butt load of tweaking to the paltest code and i did verious fixes here and...
[16.git] / src / palllist.c
index 023593b0e2d1e54fcfb1908c4913919a83bf93cf..77f0abdc02ac4674a8ec649417863ac2bacd7509 100755 (executable)
@@ -165,19 +165,18 @@ void main()
         Created linked list will be 11->11->11->13->13->20 */\r
        pushll(&head, 20);\r
        pushll(&head, 13);\r
-       pushll(&head, 13);  \r
+       pushll(&head, 13);\r
+       pushll(&head, 11);\r
        pushll(&head, 11);\r
        pushll(&head, 11);\r
-       pushll(&head, 11); \r
\r
+\r
        printf("\n Linked list before duplicate removal  ");\r
-       printList(head); \r
\r
+       printList(head);\r
+\r
        /* Remove duplicates from linked list */\r
-       removeDuplicates(head); \r
\r
-       printf("\n Linked list after duplicate removal ");               \r
-       printList(head);                        \r
-       \r
+       removeDuplicates(head);\r
+\r
+       printf("\n Linked list after duplicate removal ");\r
+       printList(head);\r
 }\r
 #endif\r