标签: malloc memory-address
如何获取malloc分配的某些内存的内存映射或物理地址?
答案 0 :(得分:-2)
void *memory = malloc(1024); printf("memory address: %p\n", memory);