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…?????
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…?????
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
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.
thats not true , its related to system library function or we can say these all are declared under the os.
it do depend on the arch and the complier config.