-
Notifications
You must be signed in to change notification settings - Fork 0
/
2-main.c
46 lines (44 loc) · 1.06 KB
/
2-main.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "lists.h"
/**
* main - check the code
*
* Return: Always 0.
*/
int main(void)
{
list_t *head;
head = NULL;
add_node(&head, "Alexandro");
add_node(&head, "Asaia");
add_node(&head, "Augustin");
add_node(&head, "Bennett");
add_node(&head, "Bilal");
add_node(&head, "Chandler");
add_node(&head, "Damian");
add_node(&head, "Daniel");
add_node(&head, "Dora");
add_node(&head, "Electra");
add_node(&head, "Gloria");
add_node(&head, "Joe");
add_node(&head, "John");
add_node(&head, "John");
add_node(&head, "Josquin");
add_node(&head, "Kris");
add_node(&head, "Marine");
add_node(&head, "Mason");
add_node(&head, "Praylin");
add_node(&head, "Rick");
add_node(&head, "Rick");
add_node(&head, "Rona");
add_node(&head, "Siphan");
add_node(&head, "Sravanthi");
add_node(&head, "Steven");
add_node(&head, "Tasneem");
add_node(&head, "William");
add_node(&head, "Zee");
print_list(head);
return (0);
}