Can I initialize a *char?
<p>On page 113, in The C++ Programming Language
(Third Edition and Special Edition), Stroustrup states:</p>

<pre><code>struct address {
char * name ; // "Jim Dandy"
long int number ; // 61
//...
};

void f ()
{
address jd ;
jd.name = "Jim Dandy"; // Is this possible?
jd.number = 61 ;
}
</code></pre>

<p>Is this possible since there was not any memory allocated for the char* field of jd?</p>

<p>Update: Thank you all for your answers! Given that it's not safe, I won't use it. It just caught my attention when I saw it in the book.</p>
