Quick reference for commonly used C functions and syntax. Use this page when you need fast recall while coding.
printf() – Print outputscanf() – Take inputputs() – Print string with newlinegets() – Read stringmalloc() – Allocate memorycalloc() – Allocate and initialize memoryrealloc() – Resize memory blockfree() – Release memoryfor – Fixed iterationwhile – Condition loopdo while – Runs at least oncestrlen() – Length of stringstrcpy() – Copy stringstrcmp() – Compare stringsstrcat() – Concatenate strings