Want this question answered?
.If you want to accept variable no of arguments then you have to include which of the following header files a) Vararg.h b) stdarg.h c) stdlib.h d) stdioh
#include<stdio.h> Another answer: Nothing.
#include <cmath> // simple version #include <complex> // complex version
That means, the header of a function. The header is the top part, before the opening braces.
Include the header file math.h and use the function acos(d)
stdarg.h
.If you want to accept variable no of arguments then you have to include which of the following header files a) Vararg.h b) stdarg.h c) stdlib.h d) stdioh
stdarg.h Before my original answer was removed and replaced with the above I suggested. Read the manual for your compiler the header files for each compiler are different. None of the compilers I currently use have a header file called "stdarg.h" but do have "varargs.h"
You need to #include the header file that contains the missing function's declaration.
#include<stdio.h> Another answer: Nothing.
#include <cmath> // simple version #include <complex> // complex version
That means, the header of a function. The header is the top part, before the opening braces.
Include the header file math.h and use the function acos(d)
No predefined 'header' function in the standard C libraries. There are header files, if that's what you mean.
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"
header files are predefined in c, they include the all necessary function to u to do your work easy instead of writing a function for printing a message or to read a input form key board we are using the library functions which are in the header files. there are different types of header files depending upon the requirement we use them.
The std::pow() function can be found in the <cmath> header.