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.
Dictionary
- Home
- C Language Dictionary
C Language Dictionary Index
| [Setup] C Language Development Environment | Steps for setting up an environment to compile and run C programs. |
| int / char / double / float | Basic data types: integers, characters, and floating-point numbers. |
| unsigned / signed / const / volatile | Type qualifiers: signedness, constants, and optimization suppression. |
| if / else / else if | Conditional branching. |
| switch / case / break / default | Multi-way conditional branching. |
| for / while / do-while | Loop constructs. |
| Function Definition and Calling | Declaring, 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 Arrays | Array names as pointers and pointer arithmetic. |
| Pointers and Strings | char arrays, string literals, and null termination. |
| struct | A data structure that groups different types together. |
| union | A data structure that shares the same memory among members. |
| enum | A group of named integer constants. |
| typedef | Defining type aliases. |
| sizeof | Getting the byte size of a type or variable. |
| #include / #define | Including headers and defining macros. |
| Function Macros (#define) | Function-like macros with arguments and inline expansion. |
| #ifdef / #ifndef / #if / #endif | Conditional compilation and include guards. |
| #pragma / #error / #warning | Compiler directives and forced errors. |
| Function Pointers | Pointers 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_assert | Precondition checks for debugging with NDEBUG (assert.h). |