C: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[wikipedia:C (programming language)|C]], a programming language | [[wikipedia:C (programming language)|C]], a programming language to follow [[wikipedia:B (programming language)|B]]. Became the core language of Unix/Linux and the liberation of it's compiler software, ''gcc'', a foundation of the Free Software movement. | ||
== Variables == | == Variables == |
Revision as of 21:00, 18 October 2010
C, a programming language to follow B. Became 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);
}