Total number of header files in C language : Post-2










  1. #include<stdio.h> : This header file is contains inbuilt functions which are used for input and output purposes . For example printf() ,scanf() etc.,
  2. #include<iostream>: It is also used for Input and Output puposes for eg., cin , cout.
  3. #include<string.h>:This header file is used to make string operations and string manipulations like  strcmp() ,size(), strcpy() , strlen(),  etc.
  4. #include<iomanip.h>: This header file is used to access set() and setprecision() function to limit the decimal places in variables.
  5. #include<math.h>: This header file is used for mathematical operations like pow(),sqrt etc.
  6. #include<stdarg.h>:This header file is used to perform standard argument functions like va_start() and va_arg(). It is also used to indicate start of the variable-length argument list and to fetch the arguments from the variable-length argument list in the program respectively.
  7. #include<errno.h>: This header file is used to supports all  error handling operations like errno()strerror()perror(), etc.
  8. #include<fstream.h>:This header file is used to control the data to read from a file as an input and data to write into the file as an output.
  9. #include<time.h>: This header file is used to perform functions related to date() and time() like setdate() and getdate().
  10. #include<float.h>: this header file supports the decimal numbers like 3.00,9.67 etc.,
  11. #include<limits.h>:This header file  determines upto what values can a datatype hold .Like int can store less integers than long int etc.,



 

Guys if you have any doubts, please let me know

Post a Comment (0)
Previous Post Next Post

How to start Coding | coding for beginners | Lecture 1