Use cc instead of gcc
Use stdlib.h instead of malloc.h