Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / C

Knowledge base — C

Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.

Entries: 472

C

<fenv.h> — floating-point environment

The <fenv.h> header exposes floating-point exception flags and control modes. It lets programs inspect exceptional conditions, change rounding, and save and restore a thread’s environment.

Intermediate · C23; repository compiler flag, production runtime not attested
C

<float.h> — floating-point type characteristics

The <float.h> header describes the precision, range, and properties of float, double, and long double. Use its macros instead of assuming a hardware format; selecting a C23 compiler flag alone does not attest library support or the production runtime.

Intermediate · C23; repository compiler flag, production runtime not attested
C

<inttypes.h> — portable integer formats

The <inttypes.h> header includes <stdint.h> and supplies PRI and SCN macros matched to integer types. They let you print and scan integers without guessing the appropriate length modifier.

Intermediate · C23; repository compiler flag, production runtime not attested
C

<iso646.h> — alternative operator spellings

The <iso646.h> header defines eleven macros replacing C operators. It changes their spelling, not their behavior.

Basic · C23; repository compiler flag, production runtime not attested
C

<limits.h> — integer type limits

The <limits.h> header exposes implementation-specific integer limits as macros, supporting portable range checks.

Basic · C23; repository compiler flag, production runtime not attested
C

<locale.h> — locale settings

The <locale.h> header provides locale selection and information about formatting numbers and monetary amounts.

Basic · C23; repository compiler flag, production runtime not attested
C

<math.h> — mathematics

C's mathematics header: functions, number classification, special values, and error reporting.

Intermediate · C23; repository compiler flag, production runtime not attested
C

<setjmp.h> — non-local jumps

The <setjmp.h> header saves a return point and resumes it from a nested call. It requires strict control over lifetimes and resources.

Advanced · C23; repository compiler flag, production runtime not attested
C

<signal.h> — signal handling

The <signal.h> header provides signal, raise, and sig_atomic_t. It supports signal handling, whose handlers require special care.

Intermediate · C23; repository compiler flag, production runtime not attested
C

<stdalign.h> — an empty header in C23

In C23, <stdalign.h> provides no content. alignas and alignof are language keywords available without including this header.

Basic · C23; repository compiler flag, production runtime not attested
C

<stdarg.h> — variadic arguments

The <stdarg.h> header provides va_list and macros for reading unnamed arguments of functions with ... and copying traversal state.

Intermediate · C23; repository compiler flag, production runtime not attested
C

<stdatomic.h> — atomic operations

The header for atomic operations on data shared between threads; provides flags and macros describing the lock-free property.

Intermediate · C23; repository compiler flag, production runtime not attested
C

<stdbit.h> — bit operations and byte order

The C23 header <stdbit.h> provides bit operations and macros describing the execution environment's byte order.

Intermediate · C23; repository compiler flag, production runtime not attested
C

stdbool.h — Boolean values header

In C23, bool, true, and false belong to the language. The <stdbool.h> header remains available but is not needed to use them.

Basic · C23; repository compiler flag, production runtime not attested
C

<stdckdint.h> — checked integer arithmetic

The C23 header <stdckdint.h> provides addition, subtraction, and multiplication that detect results outside the destination type's range.

Intermediate · C23; repository compiler flag, production runtime not attested
C

stddef.h — common definitions

The <stddef.h> header supplies common types and macros. Include it directly wherever you use them.

Basic · C23; repository compiler flag, production runtime not attested
C

The <stdint.h> header

The <stdint.h> header provides integer types with specified widths and macros for their limits and constants.

Basic · C23; repository compiler flag, production runtime not attested
C

stdio.h — standard input and output

The stdio.h header provides types, macros, and function declarations for standard input and output in C.

Basic · C23; repository compiler flag, production runtime not attested
C

<stdlib.h> — general utilities

The <stdlib.h> header exposes C library utilities and the RAND_MAX and MB_CUR_MAX macros.

Basic · C23; repository compiler flag, production runtime not attested
C

<stdnoreturn.h> — functions that do not return

The <stdnoreturn.h> header defines noreturn as _Noreturn. It is obsolescent in C23; new code can use [[noreturn]] without this header.

Basic · C23; repository compiler flag, production runtime not attested
C

<string.h> — strings and memory

The <string.h> header provides operations on null-terminated strings and blocks of memory.

Basic · C23; repository compiler flag, production runtime not attested
C

<tgmath.h> — type-generic mathematics

The <tgmath.h> header provides macros that select mathematical functions from argument types.

Intermediate · C23; repository compiler flag, production runtime not attested
C

<threads.h> — C threads

The <threads.h> header provides threads, synchronization, and thread-specific data. Check availability in your implementation.

Intermediate · C23; repository compiler flag, production runtime not attested
C

time.h — date and time

The <time.h> header provides date and time types and functions. Distinguish processor time from calendar time.

Basic · C23; repository compiler flag, production runtime not attested