title: c++  printf question: How can I safely pass a char* to printf?
body: <pre><code>const char* abc = "foo";
  printf(abc);
  </code></pre>
  
  <p>Is this safe or proper? I saw some legacy code including this. 
  Thanks!</p>
  
  <p>Very very sorry..I made a mistake, i changed it back....</p>