Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #44.2K
Hi Please look at this small piece of code: [code] char* pArray = new someArray[128]; delete pArray; deleta[] pArray; [/code] Will this generate a mem leak? "delete pArray" wil deallocate only the first char of someArray but will "delete[] pArray" deallocate the rest of someArray or will the compiler see … |