c++ memory allocation
<p>what is the output of this code:</p>

<pre><code>    char* f();

    main()
    {
        int *p=null;
        p= (int*)malloc(20 *sizeof(int));
        p=  f();
        cout&lt;&lt;p;

    }

    char *f()
    {
        char n[20];
        strcpy(n,"w");
    }
</code></pre>
