Subset of C language with tree interpreter and bytecode compiler + VM.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

14 řádky
210 B

// memory-leak
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
int main() {
for (int i = 0; i < 10; ++i) {
int *ptr = malloc(sizeof(*ptr));
assert(ptr);
*ptr = i;
}
return 0;
}