title: Difference between delete() function and delete operator in c++?
body: <p>I know delete operator used to deallocate the memory allocated by new keyword.  delete() function also do the same job in below code .what is difference  between delete() function and delete operator in below code?</p>
  <pre><code>int* ptr = new int(5); 
  int* ptr1 = new int(5); 
  delete ptr; 
  delete (ptr1);
  </code></pre>