Help me to know about compilers

Have you consider to check the link from a thread of Tutorial C++ under of programming threads?

Part 1
Part 2
Part 3

Code:
#include <stdio.h> 
int main()
{
printf("Hello World");
return 0;
}

Overview: You should aware that C/C++ have their microprocessor modules in order to work the code as possible from <stdio.h>, and usually its already default and no need to change it.

int main is likely equivalent as Sub where there is no returning value, instead it shows the data to show.
 
  • Like
Reactions: JM Safe