:confused:In c language the basic library files are mandatory(compulsary).why?
Printable View
:confused:In c language the basic library files are mandatory(compulsary).why?
If you are using functions declaring in c std files, u are forced to include library files to make the function execute properly.
Standard Library has more or less 180 functions under 24 header files which form the backbone of c programming language hence it is mandatory to use the basic library files when use the functions present in those library.
The standard libraries are as much a part of the C language as the grammar. Note that there are two types of execution environments, [I]hosted[/I] and [i]freestanding[/i]. A hosted environment is what most of us are familiar with, running on top of an operating system like Windows or Linux. A freestanding environment is found more in the embedded programming world, and in a freestanding environment fewer library functions are mandatory for a conforming program.