how to print data inside a char pointer (c++)?
<p>I have a </p>

<pre><code>funtion(const char * data)
{
//how to print the data which is inside the data
}
</code></pre>

<p>when i debug i see only the address.If i print (*data) nothing is printed.</p>

<p>Any idea?</p>
