C++ simple malloc and sizeof : <p>I am getting a weird result with these 2 simple lines</p>

<pre><code>char* reverse = (char*) malloc(sizeof(char)*19);
cout &lt;&lt; sizeof(reverse)/sizeof(char) &lt;&lt; endl;
</code></pre>

<p>No matter what number i put in the first line (in this example, it is 19). I always get 4 as the output. What is wrong ? Thanks.</p>
