Can you return an integer by dereferencing a pointer?
<pre><code>int f(int *x)
{
    *x = 5;
    return *x;
}

int main()
{
    int * y = 0;
    int z = f(y);
}
</code></pre>

<p>Why does this code give me a run time error?</p>
