Programming in C

Course Code 1BEIT105/205

Course Details

Course Outcome (Course Skill Set)

Modules

Module-1

Introduction to Computing: Computer languages, Creating and Running Programs, System Development.
Overview of C: A Brief History of C, C Is a Middle-Level Language, C Is a Structured Language, C Is a Programmer's Language, Compilers Vs. Interpreters, The Form of a C Program, The Library and Linking, Separate Compilation, Compiling a C Program, C's Memory Map.
Expressions: The Basic Data Types, Modifying the Basic Types, Identifier Names, Variables, The Four C Scopes, Type Qualifiers, Storage Class Specifiers, Variable Initializations, Constants, Operators, Expressions.
Textbook 2: Chapter 1: 1.3, 1.4, 1.5; Textbook 1: Chapter 1, 2

Number of Hours: 08

Module-2

Console I/O: Reading and Writing Characters, Reading and Writing Strings, Formatted Console I/O, printf(), scanf().
Statements: True and False in C, Selection Statements, Iteration Statements, Jump Statements, Expression Statements, Block Statements.
Textbook 1: Chapter 8, 3

Number of Hours: 08

Module-3

Arrays and Strings: Single-Dimension Arrays, Generating a Pointer to an Array, Passing Single-Dimension Arrays to Functions, Strings, Two-Dimensional Arrays, Multidimensional Arrays, Array Initialization, Variable - Length Arrays.
Pointers: What Are Pointers?, Pointer Variables, The Pointer Operators, Pointer Expressions, Pointers and Arrays, Multiple Indirection, Initializing Pointers.
Textbook 1: Chapter 4, 5

Number of Hours: 08

Module-4

Functions: The General Form of a Function, Understanding the Scope of a Function, Function Arguments, argc and argv—Arguments to main(), The return Statement, What Does main() Return?, Recursion, Function Prototypes, Declaring Variable Length Parameter Declarations, The inline Keyword.
Pointers (Contd…): Pointers to Functions, C's Dynamic Allocation Functions.
Textbook 1: Chapter 5, Chapter 6

Number of Hours: 08

Module-5

Structures, Unions, Enumerations, and typedef: Structures, Arrays of Structures, Passing Structure to Functions, Structure Pointers, Arrays and Structures within Structures, Unions, Bit-Fields, Enumerations, Using sizeof to Ensure Portability, typedef.
Textbook 1: Chapter 7

Number of Hours: 08

Suggested Learning Resources

Textbooks:

Reference books:

Web links and Video Lectures (e-Resources):

Original Scheme

this is the scheme in PDF

if you are refering other notes, follow the scheme

open / download scheme

Textbook 1

This is where you can download the text book.

C The Complete Reference Fourth Edition

open / download Textbook

android application

android applicaion that allows you to paste code.

check if you can copy the code from the below exampels and run it

Module 1 - Chapter 1

This is Official notes of module 1

  1. History and Evolution of C
  2. C as a Middle-Level and Structured Language
  3. Key Features and Programmer Advantages
  4. Compilation Process: From Source to Executable
  5. Keywords, Standards, and Language Structure
  6. Memory Layout and Separate Compilation in Practice
Module 1 - Chapter 1

Module 1 - Chapter 2

This is Official notes of module 1

  1. chap 2
  2. chap 2
Module 1 - Chapter 2

Module 2 - Chapter 8

This is Official notes of module 2

Console I/O

  1. Reading and Writing Characters
  2. Reading and Writing Strings
  3. Formatted Console I/O
  4. printf()
  5. scanf()
Module 1 - Chapter 8

Notes part 1

This is what we covered in class 1

open part 1

Notes part 2

This is what we covered in class 2

Identifiers, Variables, and Basic Programs

open part 2

Notes part 3

This is what we covered in class 3

Keywords, Control Flow, and Advanced Concepts

Part 3 of Programming in C explores essential C keywords, control flow structures like if, for, and switch. It also covers storage classes, type qualifiers, and advanced coding examples like calculators and prime checkers. You'll practice common patterns, debug frequent errors, and strengthen your C fundamentals. Ideal for mastering core syntax and logic building.

open part 3

Notes part 4

condition statements

In C, programs can choose which part of the code to execute based on some condition. This ability is called decision making and the statements used for it are called conditional statements.

open part 4

Notes part 5

Loops in C programming are used to repeat a block of code until the specified condition is met. It allows programmers to execute a statement or group of statements multiple times without writing the code again and again.

open part 5