C

From XPUB & Lens-Based wiki
Revision as of 21:01, 18 October 2010 by Michael Murtaugh (talk | contribs)

... a programming language to follow B. C is the core language of Unix/Linux and the liberation of it's compiler software, gcc, a foundation of the Free Software movement.

Variables

Variables in C are strictly typed meaning they always are one particular kind of representation of information (an integer number, a character, a string of text).

Loops

Like, Bash, C has a for loop:

for (var i=0; i<10; i++) {
    printf("Hello %d" % i);
}