0_0_29867794_366.cpp: In function 'int main()': 0_0_29867794_366.cpp:46:30: error: 'malloc' was not declared in this scope char *p = (char *)malloc(size) + size; ^ 0_0_29867794_366.cpp:59:13: error: expected '}' at end of input return 0; ^