Show Menu
Cheatography

C Programming Cheat Sheet Cheat Sheet (DRAFT) by

Quick & easy C programming reference card.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

CODE

Code for execution goes into files with “.c” suffix. Shared declar­ations (included using #include “mylib.h”) in “header” files, end in “.h”

COMMENTS

Characters to the right of // are not interp­reted; they’re a comment. For multiline comments, place text between /* and */.
 

Data Types

Name
Size
Descri­ption
Format
     
%c