C – Language


Training Objectives

At the end of C Programming training course, participants will understand:

  • Data Types, Storage Classes, & Scope,
  • Pointers, Arrays, and Dynamic Allocation
  • Compiler Directives, Preprocessor, and Macros
  • Operators and Expressions
  • Functions and C Runtime Library
  • Structures and Unions

Prerequisites
Understanding of fundamental computer concepts.

Training Duration
45 Hours

Syllabus

  • Introduction to programming:
    • Why Programming
    • Types of Programming
    • Introduction to C
    • Benefits of C
    • Some Facts about C
    • Understanding First C Program
  • Introduction to C programming.
    • Getting familiar with ‘C’ Tokens.
    • Keywords and Data Types
    • Variables and Constants
    • Rules for identifiers
  • Introduction to IDE’s
    • C Compilers – TCC, GCC etc.,
    • IDE – TC2, TC3, Codeblocks, Dev C++, C Free
    • Executing C program using IDE
  • Programming constructs
    • Console IO Operations
    • printf function
    • scanf function
    • Unformatted Functions
  • Operators and Expressions
    • Expressions
    • Types of Operators
    • Type Casting
  • Selections & Repetations
    • Control Flow Statements
    • Decision Making in C
    • If Statement
    • Switch Statement
    • Unconditional Branching
    • While Loop
    • Do…While Loop
    • For Loop
    • Break and continue statements
  • Introductio to Arrays Single & Multi Dimentional
    • Working with Arrays
    • Understanding Arrays, Declaration and Initialization
    • Sample Programs
    • Multidimensional Arrays.
    • Char arrays – strings, Declaration and Initialization
    • Sample Programs
  • Functions
    • Working with Functions
    • What is a Function
    • Benefits of a Function
    • Function Terminology
    • How does Function Works
    • Scope and Lifetime of Variables in function
    • Storage Classes of Variables
    • Call by value and call by reference
    • Recursion
    • Standard library functions – string, math
    • Function with Arrays
  • Pointers
    • Understanding Pointers
    • Declaring and Initializing Pointers
    • Function and Pointer Parameters
    • Pointer Arithmetic
    • Pointer and Arrays
    • Two Dimensional Arrays and Pointers
    • void Pointer
    • Dynamic allocation of memory
    • Difference between malloc and calloc
  • Working Structures
    • Overview of Structures
    • Defining and Using a Structure
    • typedef keyword
    • Passing Structures to Functions
    • Array of Structures
    • Structure and Pointers
    • Unions
  • Files
    • What is a FILE
    • Opening and Closing of Files
    • Writing and Reading in Text Format
    • Writing and Reading in Binary Format
  • Command line arguments
  • Pre-processor Directives