Question Bank (2 marks) · Q4
Q.Briefly explain #include deirective.
Karnataka PUCTextbookShort· 2mImportance★★★★★est
14% · 21/154 Questions
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →[!TLDR]
#include inserts the contents of a header file into the program before compilation.
The #include directive is a file-inclusion instruction to the preprocessor. It takes the complete contents of the named file and places them into the source code at that line. Standard library headers are named in angle brackets < >, while a programmer's own header files are named in double quotes " ".
#include <math.h> /* mathematical functions */ …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.