Programming in C
Course Code 1BEIT105/205
Semester I/II
CIE Marks 50
Teaching Hours/Week (L:T:P:S) 3:0:0:0
SEE Marks 50
Total Hours of Pedagogy 40
Total Marks 100
Credits 03
Exam Hours 3
Examination type (SEE) Theory
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.
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.
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.
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.
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.
Suggested Learning Resources:
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.
Reference books:
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.

.png)
0 Comments