Question 3
Back to Exercise
What does #include <string.h> actually bring into your program?
- A The compiled code of every string function
- B Declarations (prototypes, types, macros); the code itself is linked from the C library Correct
- C Nothing – it is only documentation
- D A copy of the library's source code
Correct Answer: Option B
The compiler needs the declarations to check calls; the linker supplies the implementation from the library.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!