Prof. Parthasarathy P V

Prof. Parthasarathy P V

(M) +91 8951523822 (E-mail): sarathy.amc@gmail.com

COURSE CODE, NAME: 1BEIT105/205 - Programming in C

CO CO

Lecture Notes

Module-1

Syllabus Study Material Link

Introduction to Computing: Computer languages, Creating and Running Programs, System Development.

Click here to download Study Material
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. Click here to download Study Material
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. Click here to download Study Material
Textbook 2: Chapter 1: 1.3, 1.4, 1.5; Textbook 1: Chapter 1, 2 Number of Hours: 08

Module-2

Syllabus Study Material Link

Console I/O: Reading and Writing Characters, Reading and Writing Strings, Formatted Console I/O, printf(), scanf().

Click here to download Study Material
Statements: True and False in C, Selection Statements, Iteration Statements, Jump Statements, Expression Statements, Block Statements. Click here to download Study Material
Textbook 1: Chapter 8, 3 - Number of Hours: 08

Internal Assessment Test - 1: Questions and Answers

Module-3

Syllabus Study Material Link
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. Click here to download Study Material
Pointers: What Are Pointers?, Pointer Variables, The Pointer Operators, Pointer Expressions, Pointers and Arrays, Multiple Indirection, Initializing Pointers. Click here to download Study Material
Textbook 1: Chapter 4, 5 - Number of Hours: 08

Module-4

Syllabus Study Material Link
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. Click here to download Study Material
Pointers (Contd…): Pointers to Functions, C's Dynamic Allocation Functions. Click here to download Study Material
Textbook 1: Chapter 5, 6 - Number of Hours: 08

Module-5

Syllabus Study Material Link
Structures, Unions, Enumerations, and typedef: 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. Click here to download Study Material
Textbook 1: Chapter 7 - Number of Hours: 08

Textbooks
1. Schildt, Herbert. "C the complete reference", 4th Edition, Mc GrawHill.
2. Hassan Afyouni, Behrouz A. Forouzan. “A Structured Programming Approach in C”, 4th Edition, Cengage.

Textbooks
1. Brian W. Kernighan and Dennis M. Ritchie, The ‘C’ Programming Language, 2nd Edition, Prentice Hall of India.
2. Reema Thareja, Programming in C”, 3rd Edition, Oxford University Press, 2023.