C Programming Practice Test: C Library — Flashcards | C Programming | FatSkills

C Programming Practice Test: C Library — Flashcards

Fast review mode: answers are shown by default so you can skim quickly. Hide them if you want to self-test.

Quiz on mathematical functions, general utilities, diagnostics, variable argument lists, non local jumps, localization, signal handling, standard definition, implementation defined limits, date and time functions.

A C library is a collection of pre-defined functions and macros that can be used to perform common tasks in C programming. These libraries are typically written in C and are available for use by any C program.
There are many different C libraries available, both free and commercial. Some of the most popular C libraries include:
The C Standard Library:
This is the most basic C library and is included with all C compilers. It contains functions for performing common tasks such as input/output, memory management, and string manipulation.
The GNU C Library (glibc): This is a free and open-source C library that is used by many popular operating systems, including Linux and macOS. It contains a wide range of functions, including many that are not available in the C Standard Library.
The Microsoft Visual C++ Library (MSVC): This is a proprietary C library that is included with the Microsoft Visual C++ compiler. It contains functions for performing common tasks such as input/output, memory management, and string manipulation.
C libraries are typically used by including the header file for the library in your C program. This will give you access to the functions and macros that are defined in the library. For example, to use the printf() function from the C Standard Library, you would include the <stdio.h> header file in your program.
Once you have included the header file for a library, you can use the functions and macros that are defined in the library by calling them by name. 

1 of 145 Ready
Which of the following header declares mathematical functions and macros?
math.h
Shortcuts
Prev Space Show / hide Next
Turn this into a study set.
Sign in with Google to save tricky questions to your reminder list and resume on any device.
Sign in with Google Free • no extra password