About C Language

C is a general-purpose, procedural, imperative computer programming language.

C was originally developed by Dennis Ritchie between 1969 and 1973 at Bell Labs and used to re-implement the Unix operating system.It has since become one of the most widely used programming languages of all time with C compilers from various vendors available for the majority of existing computer architectures and operating systems. C has been standardized by the American National Standards Institute (ANSI) since 1989 (see ANSI C) and subsequently by the International Organization for Standardization (ISO).

C Programming Course Outline

Introduction to C Programming

  • Introduction to C
  • Why use C?
  • Uses of C
  • Constants, Variables and Keywords
  • Operators
  • The First C Program
  • Compilation and Execution
  • Integer and Float Conversions
  • Type Conversion in Assignments
  • Receiving Input
  • Hierarchy of Operations

Decisions And Branching

  • if Statement
  • if else Statement
  • Nested ifs
  • The if-else-if Ladder
  • The switch Statement
  • Nested switch Statements

Looping Statements

  • While Loop
  • Do While Loop
  • For Loop
  • Nested Loop
  • Break Statment
  • Continue Statement
  • Go to Statement

Functions & Pointers

  • What is a Function
  • Why Use Functions
  • Passing Values between Functions
  • Function Declaration and Prototypes
  • Call by Value and Call by Reference
  • An Introduction to Pointers
  • Recursion

Data Types

  • Integers, long and short
  • Integers, signed and unsigned
  • Chars, signed and unsigned
  • Floats and Doubles

Storage Classes

  • Automatic Storage Class
  • Register Storage Class
  • Static Storage Class
  • External Storage Class

C Preprocessor

  • Features of C Preprocessor
  • Macro
  • File Inclusion
  • Conditional Compilation

Arrays

  • What are Arrays
  • Array Initialization
  • Passing Array Elements to a Functi
  • Pointers and Arrays
  • Array Sorting(Bubble sort and Selection Sort)
  • Array Searching (Linear Search And Binary Search)
  • Two Dimensional Arrays
  • Initializing a 2-Dimensional Array
  • Pointers and 2-Dimensional Arrays
  • Passing 2-D array to a Function
  • Array of Pointers

Strings

  • What are Strings
  • Pointers and Strings
  • Standard Library String Functions
  • Two-Dimensional Array of Characters
  • Array of Pointers to Strings

Structures

  • Why Use Structures
  • Accessing Structure Elements
  • Passing and returning structures
  • Array of Structures
  • Pointers and structures

Console Input/Output

  • Console I/O Functio
  • Formatted Console I/O Functions
  • Unformatted Console I/O Functions

File Input/Output

  • File Operations(Opening,Closing,Reading from File)
  • A File-copy Program
  • File Opening Modes
  • String I/O in Files
  • Record I/O in Files
  • Text Files and Binary Files
  • Database Management

Miscellaneous Features

  • Enumerated Data Type
  • Renaming Data Types with typedef
  • Typecasting
  • Bit Fields
  • Pointers to Functions
  • Functions Returning Pointers
  • Functions with Variable Number of Arguments
  • Unions
  • Union of Structures