Is it necessary to check for memory allocation after everytime we do 'new' ?
Printable View
Is it necessary to check for memory allocation after everytime we do 'new' ?
It is necessary, but the better approach is put the 'new' in "try" block so that you will immediately come to know that ur new is allocating memory or not.
Happy programming.
:)