#include<stdio.h>
Another answer: Nothing.
stdio.h
conio.h
The std::pow() function can be found in the <cmath> header.
string.h
To develop a function that can accept variable arguments in C, you should include the header file <stdarg.h>. This header provides macros like va_list, va_start, and va_end, which are essential for handling functions with a variable number of arguments. By using these macros, you can iterate through the arguments passed to your function.
conio.h
stdio.h
The std::pow() function can be found in the <cmath> header.
string.h
No. Header files are those which contains declaration part of function & library files are those which contains definition part of function. These are those functions which we called in our program by using header files.
You define the function at the same time you declare it, usually in the header file, sometimes in an .hpp file.
You need to #include the header file that contains the missing function's declaration.
Header files are not much different from usual cpp files. There are basically two different things. It's file extension: you need to choose "header file" when you create it or save as .h file. Second is header files do not have main() function. When you are done with you header file do not forger to include it in your project by writing preprocessor directive:#include "your_header_file.h"
It contains useful function-prototypes.
list of header files in c and function prototype associated with each file
To develop a function that can accept variable arguments in C, you should include the header file <stdarg.h>. This header provides macros like va_list, va_start, and va_end, which are essential for handling functions with a variable number of arguments. By using these macros, you can iterate through the arguments passed to your function.
EX: pgm #include<stdio.h> main() { printf("haiii"); } Header file: (1) contains the function(printf) declaration (2) during preprocessing, the printf function is replaced by the function declaration Library file : (1) contains the function(printf) definition (2) during linking, the function declaration is replaced with the function definition.obviously, everything will be in object while linking