Skip to main content
To Get All Information of Sarkari Jobs | Results | Admit Card | And courses ,Internships then CLICK HERE

Header Files-:

Header Files
•A header file is a file with extension [.h ] which contains C function declarations and macro      definitions to be shared between several source files.
•There are two types of header files: the files that the programmer writes and the files that comes with your compiler.
•Commonly used are:stdio.h,conio.h, math.h, stdlib.h, float.h etc.
ads
Most Common Header files Used in the C program and there functions are as follow-:
List of inbuilt C functions in stdio.h file:-
  1. printf()-: This function is used to print the character, string, float, integer, octal and hexadecimal values onto the output screen
  2. scanf()-: This function is used to read a character, string, numeric data from keyboard.
  3. getc()-: It reads character from file
  4. gets()-: It reads line from keyboard
  5. getchar()-: It reads character from keyboard
  6. puts()-: It writes line to o/p screen
  7. putchar()-: It writes a character to screen
  8. clearerr()-: This function clears the error indicators
  9. f open()-: All file handling functions are defined in stdio.h header file
  10. f close()-: closes an opened file
  11. getw()-: reads an integer from file
  12. putw()-: writes an integer to file
  13. f getc()-: reads a character from file
  14. putc()-: writes a character to file
  15. f putc()-: writes a character to file
  16. f gets()-: reads string from a file, one line at a time
  17. f puts()-: writes string to a file
  18. f eof()-: finds end of file
  19. f getchar()-: reads a character from keyboard
  20. f getc()-: reads a character from file
  21. f printf()-: writes formatted data to a file
  22. f scanf()-: reads formatted data from a file
  23. f putchar()-: writes a character from keyboard
  24. f seek()-: moves file pointer position to given location
  25. SEEK_SET() -:moves file pointer position to the beginning of the file
  26. SEEK_CUR()-: moves file pointer position to given location
  27. SEEK_END()-: moves file pointer position to the end of file.
  28. f tell()-: gives current position of file pointer
  29. rewind()-: moves file pointer position to the beginning of the file
  30. putc()-: writes a character to file
  31. sprint()-: writes formatted output to string
  32. sscanf()-: Reads formatted input from a string
  33. remove()-: deletes a file
  34. fflush() flushes a file
List of inbuilt C functions in conio.h file:-
Watch The Video Below


Comments

  1. if you have learn some knowledge about header files then please share ...

    ReplyDelete

Post a Comment

Please do not enter any spam link in the comment box.


Download The Book "Let Us C" By Yashavant P.Kanetkar,Click The Below Button

-->Email Subscription

Enter Your Email Address:-

Delivered by FeedBurner

Copyright © 2020 TechProgramiz|All Right Reserved|Made By-: Sudarshan Pandey