C Programming Cheatsheet

C programming language quick reference

Data Types

int, char, float, double, void, short, long, unsigned

Operators

Arithmetic, Relational, Logical, Bitwise, Assignment, Ternary

Control Structures

if-else, switch, for, while, do-while, break, continue

Pointers

*, &, pointer arithmetic, arrays, function pointers, malloc/free