9 lines
137 B
C
9 lines
137 B
C
//file: test4 compile as test4
|
|
#include <stdlib.h>
|
|
int main()
|
|
{
|
|
char *x = (char*)malloc(10);
|
|
x[10] = 'a';
|
|
return 0;
|
|
}
|