title: Add double quotes in a string in C
body: <p>I have this C code that retrieves the path of the executable.</p>
  
  <pre><code>char buffer[300];
  char *appPath;
  
  GetModuleFileName(NULL,buffer,300);
  appPath = buffer;
  MessageBox(NULL,appPath,"path",MB_OK);
  </code></pre>
  
  <p>That code returns a messagebox contains e.g</p>
  
  <p>C:\myexe.exe</p>
  
  <p>i'm trying to make it return :</p>
  
  <p>"C:\myexe.exe" </p>
  
  <p>Already found and tried solutions on those posts <a href="https://stackoverflow.com/questions/24922872/how-to-embed-a-double-quote-in-a-c-string">1</a> and <a href="https://stackoverflow.com/questions/2318122/double-quoted-strings-in-c">2</a> but they are not compatible with my problem.</p>
  
  <p>Any hint ?</p>