This commit is contained in:
nothke
2024-08-08 20:39:18 +02:00
commit 64be90de80
11 changed files with 726 additions and 0 deletions

9
c/malloc.c Normal file
View File

@@ -0,0 +1,9 @@
#include <stdlib.h>
int main() {
int* ptr = malloc(sizeof(int));
*ptr = 4;
free(ptr);
}