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

BCSIT

TabFlux . C Programming Language . PoU . BCSIT

C Programming Language

0%

Course Title: C Programming Language

Course No: CMP 172

Nature of the Course: Theory + Lab

Semester: 1

Full Marks: 50 + 50

Pass Marks: 23 + 23

Credit Hours: 3

Course Description

Course Objectives

Course Contents

1. Problem Solving with Computer
6 hrs
1.1. Problem analysis
1.2. Algorithms and Flowchart
1.3. History of C
1.4. Structure of C program
  • Debugging
  • Compiling a C program
  • Executing a C program
1.5. Testing and Documentation
1.6. Preprocessor and Macros
2. Elements of C
2 hrs
2.1. C Character Set
2.2. Tokens
2.3. Escape sequence
2.4. Variables Declaration and Initialization
2.5. Data types
  • Basic, Derived, and User Defined
2.6. Constants/ Literals
2.7. Expressions
2.8. Statements
2.9. Comments
3. Input and Output
2 hrs
3.1. Unformatted and Formatted I/O
3.2. Conversion specifier
3.3. Character Input and Output
3.4. I/O operations
4. Operators and Expression
4 hrs
4.1. Operator, Operand and Expression
4.2. Types of Operators
  • Arithmetic operator
  • Relational operator
  • Logical or Boolean operator
  • Assignment Operator
  • Bitwise operator
  • Prefix and Postfix Increment and Decrement operator
  • Ternary operator
  • Special Operators (size of and comma)
4.3. Evaluation of Expression
4.4. Operator Precedence and Associativity
5. Control Statement
8 hrs
5.1. Introduction to Control Structure
5.2. Sequential Control Statement
5.3. Decision Making Statement
  • if, if else, if else if, nested if and switch case
5.4. Iteration (Loop) Statement
  • for, while, do while, nested loops
5.5. Break and Continue statement
6. Arrays and string
6 hrs
6.1. Introduction to Array
6.2. Declaration
6.3. Memory Representation of Array
6.4. Initialization of Array
6.5. Types of Arrays
  • Single Dimensional and Multidimensional
6.6. Character Array and Strings
6.7. Reading and Writing Strings
6.8. Null Character
6.9. Library Functions for String handling
7. Functions
6 hrs
7.1. Introduction to Functions
7.2. Types of Functions
  • Library Functions
  • User defined functions
7.3. Components of Functions
  • Function prototype
  • Function call
  • Function Definition
7.4. Function Arguments and Return Types
7.5. Passing Arrays to Function
7.6. Passing Strings to Function
7.7. Storage Class (auto, register, static, extern)
7.8. Scope of Variables (Local and Global)
7.9. Recursive Function
8. Pointers
4 hrs
8.1. Introduction
8.2. The & and * operator
8.3. Declaration of pointer
8.4. Chain of Pointers
8.5. Pointer Arithmetic
8.6. Pointers and Arrays
8.7. Pointers and Character Strings
8.8. Array of Pointers
8.9. Pointers as Function Arguments
8.10. Dynamic Memory Allocation
  • malloc()
  • calloc()
  • realloc()
  • free()
8.11. Pass by value, Pass by reference
9. Structure and Union
4 hrs
9.1. Introduction
9.2. Declaration and Initialization of Structure and
9.3. Structure Variable
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. Pointer to structure
9.9. Union vs Structure
10. File Handling
6 hrs
10.1. Concept of File
10.2. File Operation Modes
10.3. Opening and Closing of File
10.4. Input Output Operations in File
10.5. Random access in File

Laboratory Works

  1. 1.Introduction to C Programming – basic structure of C program
  2. 2.To illustrate the use of Input, Output, Variable and Constants
  3. 3.To illustrate the different operators-Arithmetic, Relational and Logical Operators in C
  4. 4.To illustration of Control Structures (decision making) and processor directives
  5. 5.To illustration of Control Structures (looping)
  6. 6.To illustrate the function programming- simple and recursive functions
  7. 7.To illustrate the concept of Pointer and String
  8. 8.To illustrate the function programming- Call by value vs. call by reference
  9. 9.To illustrate the concept of Structure
  10. 10.To illustrate the different file operations

Text Books

  1. 1.Srivastava. (2009). C - In Depth - 2Nd Revised Edition. BPB Publications.
  2. 2.Kanetkar, Y. P. (2006). Let us c. BPB Publications.

Reference Books

  1. 1.Balagurusamy, E. (2019). Programming In Ansi C, 8Th Edition. MC Graw Hill India.
  2. 2.Gottfried, B. S. (1996). Programming with C Ind Adap ed. Tata McGraw-Hill Education.
  3. 3.Deitel, P. J., & Deitel, H. M. (2016). C: How to Program. Prentice Hall.
  4. 4.Kelley, A., & Pohl, I. (1998). A book on c: Programming in C. Addison-Wesley Professional.
  5. 5.Mittal, A. (2010). Programming In C: A Practical Approach. Pearson Education India.

Notes:

Source:

This course is designed to provide students with a comprehensive understanding of computer programming using the C language. Students will develop essential programming skills, ranging from foundational concepts to advanced techniques, enabling them to create efficient, reliable, and maintainable software applications. Through hands-on exercises, coding projects, and problem-solving activities, students will gain practical experience in writing, debugging, and optimizing C programs. The course includes developing the ability to analyze, design, implement, debug, and comprehensively document code within the C programming language. Likewise attaining mastery over pivotal programming concepts in C, encompassing data manipulation and conditional logic. Proficiently employ statements and logical structures for decision-making and program control. Elevate C programming prowess by effectively manipulating arrays and strings, harnessing library functions, crafting custom functions, managing prototypes, and controlling variable scope. Achieving mastery in essential data management skills within C programming, spanning diverse structures, memory optimization, and adept utilization of pointers to enhance efficiency.
To understand the basic principles and concepts of computer programming. To gain proficiency in writing C programs and applying programming constructs. To develop problem-solving and logic building skills through programming exercises. To acquire knowledge of fundamental data structures and their implementation in C. To learn how to design and implement algorithms using C programming. To apply programming concepts and C programming skills to solve real-world problems.
It builds the foundation on how to write a program using any high-level language. Hence, this course requires a lot of programming practice so that students will be able to develop good logic building and program developing capability which is essential throughout the course.
This syllabus follows the official BCSIT curriculum of Pokhara University. In case of any doubt or revision, the university’s published syllabus shall be considered authoritative.