2. Learning Outcomes
Successful students will be able to:
1. Apply pseudocode, flowchart and algorithm to develop, test and debug a
program.
2. Demonstrate the use of variables, constants, user-defined functions and
procedures in C program.
3. Develop complete customizable full Arduino project autonomously, from the
beginning to the end.
3. What is C?
A language written by Brian Kernighan and Dennis Ritche. This was to be the
language that UNIX was written in to become the first “portable” language.
In recent years, C has been used as a general-purpose language because of its
popularity with programmers.
4. History of development C
In 1972, Dennis Ritchie at Bell Labs writes C and in 1978 the publication of The C
Programming Language by Kernighan & Ritchie caused a revolution in the computing
world.
In 1983, the American National Standards Institute (ANSI) established a committee
to provide a modern comprehensive definition of C. The resulting definition, the
ANSI standard, or “ANSI C” was completed late 1988
5. Why use C?
C provides:
Efficiency, high performance and high-quality software
Flexibility and power
Many high-level and low-level operations middle level
Stability and small size code
Provide functionality through rich set of function libraries
Gateway for other professional language like C C++ Java
C is used:
System software compilers, editors, embedded system
Data compression, graphics and computational geometry, utility programs
Databases, operating system, device drivers
Also used in application programs.
6. Features of C
C is a robust language
C is a highly portable language means once compiled; the code can be run in any
computer.
7. Development with C
Editing
• Writing the source code by using some IDE or editor
Preprocessing / Libraries
• Available routines
Compiling
• Translate or converts source to object code for a specific
platform
Linking
• Resolve external reference and produces the executable module