box-o-sand/oldstuff/PracticingC/gowrikumar/src/06-ia64segfault.c

17 lines
206 B
C

/**
* :author: Dan Buch (daniel.buch@gmail.com)
*/
#include <stdlib.h>
int main()
{
int* p;
p = (int*)malloc(sizeof(int));
*p = 10;
return 0;
}
/* vim:filetype=c:fileencoding=utf-8
*/