Page 2 - C-Language
P. 2
Table of Contents
About 1
Chapter 1: Getting started with C Language 2
Remarks 2
Common Compilers 2
Compiler C version Support 2
Code style (off-topic here): 3
Libraries and APIs not covered by the C Standard (and therefore being off-topic here): 3
Versions 4
Examples 4
Hello World 4
hello.c 4
Let's look at this simple program line by line 4
Editing the program 5
Compiling and running the program 5
Compile using GCC 6
Using the clang compiler 6
Using the Microsoft C compiler from the command line 6
Executing the program 6
Original "Hello, World!" in K&R C 6
Chapter 2: — character classification & conversion 9
Examples 9
Classifying characters read from a stream 9
Classifying characters from a string 9
Introduction 10
Chapter 3: Aliasing and effective type 13
Remarks 13
Examples 14
Character types cannot be accessed through non-character types. 14
Effective type 15
Violating the strict aliasing rules 15

