convert a MQLONG value to string in c++ <p>How can I print a IBMMQ MQLONG value in c++ code. It gives a segmentation fault when I try to print</p> <pre><code>printf("Queue Persistance-&gt; %s\n ", pMsgDesc -&gt; Persistence ); </code></pre> <p>Thanks</p>