cours_progra/bac2/os/chap2/ex1.c

15 lines
220 B
C
Raw Normal View History

2023-10-18 20:27:40 +02:00
#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);
}