Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
alma
#include <iostream> #include <memory> int main() { std::shared_ptr<int> x{std::make_shared<int>(10)}; std::shared_ptr<int> y{nullptr}; x = y; std::cout << x.get(); // <-- print 0 }
run
|
edit
|
history
|
help
0
completeBubbleSort
same
HeapSort
Graph Theory On Strings
Test 4(2020)
inorder traversal
C++ User Input #1
akshitha
ad
Hello World - verbose