title: Is it possible to output a string to the console in C without including the standard library?
body: <p>I'm trying to get better understanding of how assembly and machine code works.
  So I'm compiling this simple snipet with gcc : </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int main(){
      printf("Hello World!");
      return 0;
  }
  </code></pre>
  
  <p>But this includes the default library. I would like to output hello world without using printf but by inlining some assembly in the C file, and adding -nostdlib and -nodefaultlibs options to gcc. How can I do that ? I'm using Windows 10 and mingw-w64 with Intel core i7 6700 HQ (laptop processor). Can I use NASM with gcc on windows ?</p>