Language
日本語
English

Caution

JavaScript is disabled in your browser.
This site uses JavaScript for features such as search.
For the best experience, please enable JavaScript before browsing this site.

  1. Home
  2. C Language Dictionary

C Language Dictionary Index

[Setup] C Language Development EnvironmentSteps for setting up an environment to compile and run C programs.
int / char / double / floatBasic data types: integers, characters, and floating-point numbers.
unsigned / signed / const / volatileType qualifiers: signedness, constants, and optimization suppression.
if / else / else ifConditional branching.
switch / case / break / defaultMulti-way conditional branching.
for / while / do-whileLoop constructs.
Function Definition and CallingDeclaring, defining, and using function arguments and return values.
Arrays (1D and Multidimensional)Storing elements of the same type sequentially with index access.
Pointer Basics (* / &)Getting addresses and dereferencing pointers.
Pointers and ArraysArray names as pointers and pointer arithmetic.
Pointers and Stringschar arrays, string literals, and null termination.
structA data structure that groups different types together.
unionA data structure that shares the same memory among members.
enumA group of named integer constants.
typedefDefining type aliases.
sizeofGetting the byte size of a type or variable.
#include / #defineIncluding headers and defining macros.
Function Macros (#define)Function-like macros with arguments and inline expansion.
#ifdef / #ifndef / #if / #endifConditional compilation and include guards.
#pragma / #error / #warningCompiler directives and forced errors.
Function PointersPointers that store function addresses for callbacks.
malloc() / calloc() / realloc() / free()Dynamic memory allocation and deallocation (stdlib.h).
printf() / fprintf() / sprintf()Formatted output with format specifiers (stdio.h).
scanf() / fscanf() / sscanf()Formatted input (stdio.h).
putchar() / getchar() / puts() / gets_s()Character and line-based standard I/O (stdio.h).
strlen() / strcpy() / strncpy()Getting string length and copying strings (string.h).
strcat() / strncat()Concatenating strings (string.h).
strcmp() / strncmp()Comparing strings (string.h).
strstr() / strchr() / strrchr()Searching for substrings and characters (string.h).
memcpy() / memmove() / memset() / memcmp()Copying, initializing, and comparing memory blocks (string.h).
atoi() / atof() / atol() / strtol()Converting strings to numbers (stdlib.h).
abs() / labs() / div()Integer absolute values and simultaneous quotient/remainder calculation (stdlib.h).
rand() / srand()Generating pseudo-random numbers (stdlib.h).
qsort() / bsearch()General-purpose sorting and binary search (stdlib.h).
exit() / atexit() / abort()Program termination and registering exit handlers (stdlib.h).
isalpha() / isdigit() / isspace() / isalnum()Classifying character types (ctype.h).
tolower() / toupper()Converting between uppercase and lowercase (ctype.h).
sqrt() / pow() / fabs() / ceil() / floor()Square root, power, absolute value, and rounding (math.h).
sin() / cos() / tan() / asin() / acos() / atan2()Trigonometric and inverse trigonometric functions (math.h).
log() / log2() / log10() / exp()Logarithmic and exponential functions (math.h).
fmod() / modf() / frexp() / ldexp()Floating-point number operations (math.h).
fopen() / fclose() / freopen()Opening and closing files with mode strings (stdio.h).
fgets() / fputs() / fgetc() / fputc()Line and character-based text file I/O (stdio.h).
fread() / fwrite()Reading and writing binary files (stdio.h).
fseek() / ftell() / rewind() / feof()File position manipulation and end-of-file detection (stdio.h).
time() / difftime() / clock()Getting current time and elapsed time (time_t, clock_t) (time.h).
localtime() / gmtime() / mktime()Converting between time_t and struct tm (time.h).
strftime() / asctime() / ctime()Formatting time as a string (time.h).
va_list / va_start() / va_arg() / va_end()Implementing variadic functions (stdarg.h).
assert() / static_assertPrecondition checks for debugging with NDEBUG (assert.h).