best answer > What is delete operator in C++ 2024?- QuesHub | Better Than Quora
  • What is delete operator in C++ 2024?

    对象 函数 内存

    Questioner:Eliza Gonzales 2023-05-05 10:25:56
The most authoritative answer in 2024
  • Lucas Clark——Works at the International Monetary Fund, Lives in Washington, D.C., USA.

    Using delete on a pointer to an object not allocated with new gives unpredictable results. ... When delete is used to deallocate memory for a C++ class object, the object's destructor is called before the object's memory is deallocated (if the object has a destructor).read more >>
    +119962023-05-07 10:25:56

About “对象、函数、内存”,people ask:

READ MORE:

QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.

分享到

取消