2. VARIABLES AND DATA TYPES
Declaring and Using Variables in C
In order for a program to be useful, it must process data by using variables. In C
a variable must be declared before it is used we must tell the compiler what
type of data will be stored in t
5. FLOW CONTROL STATEMENTS IN C
Selection Control Statements
In selection control statements a block of code is executed once depending on
the value of a conditional expression. If the value of a conditional expression is
true the block of code is execute
3. C PREPROCESSOR AND THE C LIBRARY
The C Preprocessor
The C preprocessor is a separate step performed before the compilation process.
It works like a text substitution tool before the code is compiled. Following the
preprocessor directives, the preproces
4. C OPERATORS AND ARITHMETIC EXPRESSIONS
Fundamental C Operators
C provides a rich list of operators to perform arithmetic and logical operations.
Assume variable A stores the value 10 and variable B stores the value 20.
Low Level Programming 1
An Introductory Course to Programming in C
BSC Hons MQF Level 6
Disclaimer: Notes and worksheets are adapted from the class textbook: C Primer Plus 6th, S Prata
1. INTRODUCTION TO LOW LEVEL PROGRAMMING