<p>Consider:</p>

<pre><code>int testfunc1 (const int a)
{
  return a;
}

int testfunc2 (int const a)
{
  return a;
}
</code></pre>

<p>Are these two functions the same in every aspect or is there a difference?</p>

<p>I'm interested in an answer for the C language, but if there is something interesting in the C++ language, I'd like to know as well.</p>

Yes, they are same for just
```
int
```
and different for
```
int*
```