Header Files in C

Header Files contain definitions of functions and variables, which is imported or used into any C program by using pre-processor i.e, #include statement. Header files have an extension ".h" which contains C function declaration and macro definition.

For example, stdio.h is a header file contains declaration of input and output functions available in C. Similarly math.h contains declarations of mathematical functions available in C.

Comments

Popular posts from this blog

C program to display prime numbers between 1 to 100.

Progarm to state that a person can cast vote or not. [Note: A person can cast vote if he is 18 years old or above]

ChatGPT on smartwatches