Struct Array Initialization and String Literals
<p>Is following array initialization correct? I guess it is, but i'm not really sure if i can use <code>const char*</code> or if i better should use <code>std::string</code>. Beside the first question, do the char pointers point to memory segments of same sizes?</p>

<pre><code>struct qinfo
{
    const char* name;
    int nr;
};
qinfo queues[] = {
    {"QALARM", 1},
    {"QTESTLONGNAME", 2},
    {"QTEST2", 3},
    {"QIEC", 4}
};
</code></pre>
