HexLibraryHexLibrary
</> HexCodeSign inSign up
PythonJavaScriptTypeScriptCC++JavaPHPGoRustRubyBashSQLLuaPerlCOBOLPascalDelphiFortranDartSwiftC#JuliaGroovyRElixirHaskellKotlinScalaClassic ASPClipperMS-DOS
LESSONS
Introduction to CVariablesData TypesOperatorsStringsArraysConditions (if / switch)Loops (for / while)FunctionsPointers
REFERENCE
📖 Overview
🖥️ Output & Input
📦 Variables
🔢 Numbers & Math
✍️ String
📋 Array
🔁 Condition & Loop
🧩 Function
👉 Pointer
C›REFERENCE

C — Command Reference

C's most used commands — the foundation of systems and many languages. Each example is a complete program (#include <stdio.h> + main). Each includes an explanation and a working example.

8 categories · 21 commands

🖥️

Output & Input

Formatted printing with printf and reading with scanf.

printf()Format specifiers (%d %f %c %s)scanf()
3 commands →
📦

Variables

Typed variables and constants.

Typed variableconst / #define
2 commands →
🔢

Numbers & Math

Arithmetic and math.h.

Arithmetic ( + - * / % )math.h (sqrt / pow)
2 commands →
✍️

String

Character arrays and string.h functions.

char array (text)strlen()strcpy() / strcat()strcmp()
4 commands →
📋

Array

Fixed-size arrays.

ArrayTraversing an array (for)
2 commands →
🔁

Condition & Loop

Decision making and repetition.

if / elseswitchforwhile
4 commands →
🧩

Function

Function definition and usage.

Functionvoid (no return value)
2 commands →
👉

Pointer

Working with memory addresses — the heart of C.

Pointer ( * and & )Passing a pointer to a function
2 commands →
HexLibraryHexLibrary

Learn programming more clearly. Every command is explained line by line with colors, reinforced with runnable exercises, test your code instantly — all in one place, free.

Learn

  • Home
  • Languages & Lessons
  • HexCode

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Use

Other Projects

  • HexToolz
  • Free Service Manuals
© 2026 HexLibrary · The clearest way to learn code