What does the C Standard Library provide?
a) Pre-written functions
b) C language syntax
c) Compiler specifications
d) Code for the C compiler
Answer:
a) Pre-written functions
Explanation:
The C Standard Library offers a set of pre-written functions that assist in performing common tasks such as input/output operations, string manipulation, memory allocation, and mathematical calculations. These functions save time for developers by providing ready-to-use code for frequently needed tasks.
Using the standard library enhances code portability, meaning that a program written using these functions is more likely to run on different systems without modification. This is crucial for writing efficient, reliable, and maintainable code in C.