c: add memcpy and alloca example