TABFlux
HomeCoursesUniversitiesProgramsForum
Contact Us

© 2026 TABFlux. All rights reserved. Built for students, by students.

ForumPrivacy PolicyTerms of ServiceContact UsContributors

Programming in C

C Programming is a foundational programming language that focuses on structured programming and low-level memory management.


SyllabusSkill Roadmap

Select University

TUPUPoUFWU

Select Program

BSC-CSITBDSBCA-NEWBCA-OLDBITBCT-NEWBEI-NEW

TabFlux . Programming in C . TU . BDS

Programming in C

0%

Course Title: Programming in C

Course No: BDS103

Nature of the Course: Theory + Lab

Semester: 1

Full Marks: 45 + 30

Pass Marks: 18 + 12

Credit Hours: 3

Course Description

Course Objectives

Course Contents

1. Introduction
3 hrs
1.1. Program and programming language
1.2. Types of programming languages
1.3. Program design tools (Algorithm, Flowchart, and Pseudocode)
1.4. History of C programming
1.5. Structure of C program
1.6. Compiling and executing C programs
1.7. Debugging
2. Basic Elements of C
4 hrs
2.1. C standards
2.2. C character set
2.3. C tokens
2.4. Escape sequence
2.5. Delimiters
2.6. Variables
2.7. Data types
2.8. Constants/Literals
2.9. Symbolic constant
2.10. Expressions
2.11. Statements
2.12. Writing comments
2.13. Library functions
2.14. Pre-processor directives
3. Data Input and Output
3 hrs
3.1. Input/output operations
3.2. Conversion specifications
3.3. Formatted I/O and unformatted I/O
4. Operators and Expression
5 hrs
4.1. Unary and binary operators
4.2. Arithmetic operator
4.3. Relational operator
4.4. Boolean operator
4.5. Assignment operator
4.6. Ternary operator
4.7. Bitwise operator
4.8. Increment or decrement operator
4.9. Conditional operator
4.10. Special operators (size of operator)
4.11. Evaluation of expression
4.12. Operator precedence and associativity
4.13. Type conversion
5. Control Statements
6 hrs
5.1. Branching statements (if and switch)
5.2. Looping statements (for, while, and do-while)
5.3. Nested control structures
5.4. Break and continue statements
5.5. Exit function
6. Arrays and Strings
6 hrs
6.1. Introduction to array
6.2. Types of array (Single dimensional and multidimensional)
6.3. Declaration and memory representation of array
6.4. Initialization of array
6.5. Character array and strings
6.6. Reading and writing strings
6.7. Null character
6.8. String library functions
7. Functions
6 hrs
7.1. User defined functions
7.2. Library functions vs. User defined functions
7.3. Function prototype
7.4. Function call and Function definition
7.5. Nested and recursive function
7.6. Function arguments and return types
7.7. Passing arrays to function
7.8. Passing strings to function
7.9. Passing arguments by value
7.10. Passing arguments by address
7.11. Local and global variable
7.12. Scope visibility and lifetime of a variable
7.13. Macros
8. Pointers
6 hrs
8.1. Introduction to pointers
8.2. Advantages and disadvantages of pointer
8.3. The & and * operator
8.4. Declaration of pointer
8.5. Pointer to pointers (Chain of Pointers)
8.6. Pointer arithmetic
8.7. Pointers and arrays
8.8. Pointers and character strings
8.9. Array of pointers
8.10. Pointers as function arguments
8.11. Function returning pointers
8.12. Dynamic memory allocation
9. Structure and Union
5 hrs
9.1. Introduction
9.2. Declaration
9.3. Initialization
9.4. Array of structure
9.5. Passing structure to function
9.6. Passing array of structure to function
9.7. Nested structure
9.8. Pointers and structures
9.9. Introduction to union
9.10. Structure vs union
10. File Handling in C
4 hrs
10.1. Concept of file
10.2. Types of file (Text and binary files)
10.3. Modes of file
10.4. Opening and closing of file
10.5. Input output operations in file
10.6. Random access in file

Laboratory Works

  1. 1.C Programming Laboratory

Reference Books

  1. 1.Byron Gottfried: "Programming with C,” Fourth Edition, McGraw Hill Education.
  2. 2.Brian W. Keringhan, Dennis M. Ritchie, The C programming Language, Second Edition, PHI Publication.
  3. 3.Al Kelley, Ira Pohl: "A Book on C", Fourth Edition, Pearson Education.
  4. 4.Yeshvant Kanetkar, “Let Us C”, 17th Edition, BPB publication, 2020.
  5. 5.Herbert Schildt, C Complete Reference, Fourth Edition, Osborne/McGraw-Hill Publication.
  6. 6.K.N. KING: C Programming: A Modern Approach, Second Edition
  7. 7.E. Balagurusamy, Programming in ANSI C, Eighth Edition, TMH publication, 2019

Notes:

Source:

This course introduces the both theoretical and practical concepts of C programming language including basic concepts, data types, operators, handling input and output, control statements, arrays, functions, pointers, structures, unions, and file handling.

The main objective of this course is to familiarize students both theoretical and practical concepts of C programming language.

Laboratory work includes writing C programs to implement all the concepts of C programming studied in each unit of the course.
This syllabus follows the official BDS curriculum of Tribhuvan University. In case of any doubt or revision, the university's published syllabus shall be considered authoritative.