APPENDIX C

HEADER FILES AND STANDARD LIBRARY FUNCTIONS

Every C compiler provides the standard library functions. The following table describes few C library functions that can be used by programmers in their programs. Since standard library functions are huge in numbers, it is not possible to include all of them in this appendix. Programmer can refer to the help of the C compiler. Functions supported by compilers may vary from compiler to compiler.

Header files and functions supported by a compiler are as follows.

  1. stdio.h

    Function Name & Syntax

    Description

    Example

    printf:

    int printf (const char *format, argument, ...);

    It applies each argument to corresponding format specifier in *format and sends formatted output to stdin. If successful, ...

Get Programming in C, 3/e, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.