Course
Introduction to C Programming
This course is designed to teach ANSI Standard C to programmers in other high-level languages. ANSI Standard C is a general-purpose programming language that is widely used in areas as diverse as operating systems and games. This course will teach you how to read and write ANSI Standard C code. The course explores concepts and syntax through lectures, discussion and hands-on lab exercises.
Duration: 5 days
Who is it for This training course is for developers who need to be able to develop applications using the C programming language.
Layout:
Modules
Introduction
- Origins of C
- C standards
- Feature overview
- “Hello, world!”
Data Types, Variables And Operators
- Data types – integers, characters, floating point
- Declaring variables
- Arithmetic operators
- Logical operators
- Bitwise operators
- Precedence and associativity
- Casting and type conversions
Control Flow
- if/else statements
- switch statements
- do and while loops
- The for loop
- goto
- break and continue
Functions
- Declaring functions
- Function prototypes
- Using header files
- Passing arguments
- Return values
- The compile/link model
Arrays
- Array representation in memory
- Array declaration and access
- Multi-dimensional arrays
Pointers
- Pointer concepts
- Declaring and assigning pointers
- Dereferencing pointers
- Pointer arithmetic
- Pointers and arrays
- Passing arrays to functions
- Dynamic memory allocation
- Function pointers
- typedef
Strings
- Strings as character arrays
- Initializing strings
- Working with strings
- Command line arguments
User-Defined Types
- Enums
- Structs
- Declaring and using structs
- Passing structs to functions
- Pointers and structures
I/O
- printf
- Format specifiers
- scanf
- File I/O
- String I/O
The Preprocessor
- Preprocessor directives
- Defining and using constants
- Conditional compilation
- Preprocessor macros
Advanced Topics
- Storage classes
- Building programs using make
Enquire about this course
"*" indicates required fields