|
p contains: "C1--ABCDefghIJklMNopQrStuvwxyZ"
p2 contains: "C2--another string to play with"
p3 contains: "C3--yet another string to play with"
And that's all there is.
Summary of Memory Allocation
3 calls to AllocMem
1 calls to ReAllocMem
2 calls to FreeMem
Note that calling ReAllocMem() with a NULL ptr
is considered a call to AllocMem()
1 entries on allocation chain now
3 max entries on allocation chain
Memory left allocated...
Alloc #: 1 Sz: 31 ReAllocCount: 0 Addr: 0806B000
Line: 26 File: foo.c
-address- ------------- hex data ------------ ---- ascii data ---
806B000: 43312D2D 41424344 65666768 494A6B6C C1-- ABCD efgh IJkl
806B010: 4D4E6F70 51725374 75767778 795A00 MNop QrSt uvwx yZ.
Summary of Memory Allocation Complete