COMPILATION PROCESS IN C — Step by Step

#include <stdio.h>int main(void)
{
printf("Hello, World!\n");
return (0);
  • Comments are removed.
  • All included files and macros are expanded.
  • look for what is included in the header, <stdio.h> for example and copy the header file into the source code.
  • A “.i” file is created with all this info.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store