Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
role of destructor during DMA
//g++ 5.4.0 #include <iostream> using namespace std; class sample { public: ~sample() { cout<<"destr called\n"; } }; int main() { sample *a1=new sample(); printf("hhhh"); sample *a2=new sample(); delete a1; //delete a2; return 0; }
run
|
edit
|
history
|
help
0
fundamental type sizes
VecCrossProd
Kth smallest element
python
decode
find-missing-number-arithmetic-progression
Deepa
akshitha
basic observation leads to dp OPTIMIZATION from O(n^3) to O(n^2) !!! (sopj : AMBLE)
typedef