repositories
/
TD_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
TP 11 exo1: simplify the logic in the array creation and resizing
[TD_C.git]
/
TP_13
/
exo1
/
src
/
main.c
diff --git
a/TP_13/exo1/src/main.c
b/TP_13/exo1/src/main.c
index 658930e3c75be49a87ef13a9735a653c8576941d..9f23749fbc3b2def57ca83457ac762d44e426e0a 100644
(file)
--- a/
TP_13/exo1/src/main.c
+++ b/
TP_13/exo1/src/main.c
@@
-17,6
+17,8
@@
int main() {
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);