This note explains all the common features and techniques for
the C language. The coverage is pretty quick, so it is most appropriate for
someone with some programming background who needs to see how C works. Topics
include variables, int types, floating point types, promotion, truncation,
operators, control structures (if, while, for), functions, value parameters,
reference parameters, structs, pointers, arrays, the pre-processor, and the
standard C library functions.
C is a
relatively small language, but one which wears well. Topics covered includes: Basic Data
Types and Operators, Statements and Control Flow, Functions and Program
Structure, Basic I/O, Operators, Strings.
This is a
reference manual for the C programming language as implemented by the GNU
Compiler Collection (GCC). Topics covered includes: Lexical Elements, Data
Types, Expressions and Operators, Functions, Program Structure and Scope.
This
course note provides a thorough introduction to the C programming language, the
workhorse of the UNIX operating system and lingua franca of embedded processors
and micro-controllers.