char* c=new char[64*1024+1]; MEMORY_BASIC_INFORMATION memInfo; VirtualQuery(c,&memInfo,sizeof(memInfo)); char * c2=(char*) malloc(64*1024+1); MEMORY_BASIC_INFORMATION memInfo2; VirtualQuery(c2,&memInfo2,sizeof(memInfo2)); memInfo {BaseAddress=0x00420000 AllocationBase=0x00420000 AllocationProtect=0x00000004 ...} BaseAddress: 0x00420000 AllocationBase: 0x00420000 AllocationProtect: 0x00000004 RegionSize: 0x00012000 State: 0x00001000 Protect: 0x00000004 Type: 0x00020000 memInfo2 {BaseAddress=0x00430000 AllocationBase=0x00420000 AllocationProtect=0x00000004 ...} BaseAddress: 0x00430000 AllocationBase: 0x00420000 AllocationProtect: 0x00000004 RegionSize: 0x00013000 State: 0x00001000 Protect: 0x00000004 Type: 0x00020000