+#include <stdlib.h>
#include <stdio.h>
-#include "macros.h"
+#include "array.h"
+#include "utils.h"
+#include "io.h"
int main() {
- printf("Hello world\n");
+ int* tab = NULL;
+ const unsigned tab_size = 11;
+ tab = create_tab(tab, tab_size);
- return 0;
+ printf("%d\n", tab_size);
+
+ display_array(tab, tab_size);
+
+ const unsigned tab_new_size = 20;
+ tab = resize_tab(tab, tab_new_size);
+
+ printf("%d\n", tab_new_size);
+
+ display_array(tab, tab_new_size);
+
+ free_tab(tab);
+ exit(EXIT_SUCCESS);
}