title: Works in c but gives error in C++
body: <p>The below code give no compilation error when used as C file , but gives an error when used as Cpp file.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  
  
  
  int *delete(int a,int b)
  {
      int *p;
      p=&amp;a;
      return p;
  }
  
  
  int main()
  {
  
     return(0);
  }
  </code></pre>
  
  <p>Error in C++ file:</p>
  
  <ul>
  <li>Syntax error</li>
  <li>expected unqualified id before delete</li>
  <li>expected initializer before delete</li>
  </ul>