0 votes
164 views
in C program by (1.7k points)
edited

 Why is it that not all header files are declared in every C program?

1 Answer

0 votes
by (1.7k points)
selected by
 
Best answer
The choice of declaring a header file at the top of each C program would depend on what commands/functions you will be using in that program. Since each header file contains different function definitions and prototype, you would be using only those header files that would contain the functions you will need. Declaring all header files in every program would only increase the overall file size and load of the program, and is not considered a good programming style.
asked May 14, 2022 in C program by (1.7k points)
edited Jun 29, 2023
when is the “void” keyword used in a function?

Related questions

0 votes
1 answer 236 views
0 votes
0 answers 103 views
0 votes
1 answer 104 views
asked May 15, 2022 in C program by Doubtly (98.9k points)
0 votes
1 answer 107 views
asked May 15, 2022 in C program by Doubtly (98.9k points)
0 votes
1 answer 142 views
0 votes
1 answer 158 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

537 users

...