RosettaCodeData/Task/Memory-allocation/C++/memory-allocation-5.cpp

4 lines
51 B
C++

#include <new>
int* p = new(std::nothrow) int(3);