vendredi 26 août 2016

Does gcc include some header files automatically?

I have the following code:

int main()
{
    printf("Hellon");
    return 0;
}

I compiled it using the following command:

gcc -o myprogram myfile.c

And it compiled without any error even though I did not #include <stdio.h>. So did gcc include this header file automatically?

My gcc version is 4.3.3

Aucun commentaire:

Enregistrer un commentaire