Hi,
When i am trying to run the code below,it gives runtime<br>
exception. Although i am ctching the exception.<br>
Plz suggest something. I cann't check the pointer against<br>
NULL.
Regards<br>Code:#include<iostream> #include<stdexcept> using namespace std; void main() { char* p; try { delete p; } catch(exception ex) { cout<<"hello"<<endl; } }
Ram