Subset of C language with tree interpreter and bytecode compiler + VM.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 

18 行
222 B

// dangling-pointer
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
int *alloc() {
int i;
return &i;
}
int main() {
int *ptr = alloc();
assert(ptr);
*ptr = 42;
printf("%d\n", *ptr);
return 0;
}