EmbLogic's Blog

How this program is excutable without existing any header file????

int main()         //without header file

{int *i;
char k;
float s;

char j[5];
struct hi
{
};
return 0;
}
//where these all keywords and main function is declared and defined…?????

3 Responses to How this program is excutable without existing any header file????

  1. kamran says:

    If we save our program with .c extension before compiling it, the compiler with Automatically include the header files.
    for eg-
    First we save our program with abc.c and then complile it. It will not show any error.

    try it.

Leave a Reply to kamran ali Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>