Skip to content
Snippets Groups Projects
Commit 12f12fe4 authored by yassin.elhakoun's avatar yassin.elhakoun
Browse files

Update opaque.md (erreur nommage struct)

parent 4a411131
No related branches found
No related tags found
No related merge requests found
Pipeline #29826 failed
......@@ -15,9 +15,9 @@ typedef struct _table {
} table;
// main.c
table tab; // membres de tab accessibles directement
tab.length = 10;
tab.data = malloc(tab.length * sizeof(int));
tab.data[9] = 10;
table.length = 10;
table.data = malloc(table.length * sizeof(int));
table.data[9] = 10;
```
# Types opaques
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment