This commit is contained in:
Debucquoy
2023-10-18 20:27:40 +02:00
parent 4de4dcf2c2
commit b0f02b0d5d
29 changed files with 700 additions and 2 deletions

14
bac2/os/chap2/ex1.c Normal file
View File

@ -0,0 +1,14 @@
#include <stdio.h>
#include <stdlib.h>
#define TEST_SIZE 100
int main(void)
{
char* blop[TEST_SIZE];
for (int i = 0; i < TEST_SIZE; ++i) {
blop[i] = malloc(sizeof(char));
printf("%p\n", blop[i]);
}
while(1);
}