TP 13 exo1: create an array in the main()
[TD_C.git] / TP_13 / exo1 / src / main.c
index 06f5f8d66140d669cb3a97bedd47405c4593e2f5..1b93898fe8cea2126dcfd4162f9f95446f0b227f 100644 (file)
@@ -1,7 +1,13 @@
+#include <stdlib.h>
 #include <stdio.h>
 
+#include "array.h"
+#include "utils.h"
+
 int main() {
-    printf("Hello world\n");
+    int* tab = NULL;
+    create_tab(tab, 11);
+    const unsigned tab_size = ARRAY_SIZE(tab);
 
-    return 0;
+    exit(EXIT_SUCCESS);
 }