Study portal • C Programming
C Programming
Master C fundamentals, control structures, arrays, functions, structures, pointers and file handling. This subject contains 108 generated topic pages organised by module/unit below.
108
Topics
65
Notes
43
Practical
108
Learning resources
Module 1
Introduction to Computer, Programming & algorithms
- Introduction to Computer and components of a computer system
- 📌 Case Study: From Transistor to Modern Processors
- Architecture
- Definition of software and hardware
- Types of programming languages
- Assembler
- Compiler
- Interpreter
- Linker
- Loader
- Algorithm — Definition
- Algorithm — Characteristics
- Complexity notations
- Flowchart — Definition
- Symbols used in writing the flowchart
- Writing algorithms and flow-charts of simple problems
- Algorithm — Exercises
- Flowchart — Exercises
- Simple Problems — Exercises
Module 2
C Basics, Operators, Loops
- Introduction to C
- Features of C
- Basic C program structure
- C tokens
- Data types
- C Operators and precedence
- Type conversion
- Control Structures: if
- Control Structures: if-else
- Control Structures: nested if
- Control Structures: switch-case
- Control Structures: while
- Control Structures: do-while
- Control Structures: for
- Unconditional control statements: break
- Unconditional control statements: continue
- 📝 Assignment 1 — Unit 1 & Unit 2
- Introduction to C — Exercises
- Features of C — Exercises
- Basic C Program Structure — Exercises
- C Tokens — Exercises
- Data Types — Exercises
- C Operators and Precedence — Exercises
- Type Conversion — Exercises
- if — Exercises
- if-else — Exercises
- nested if — Exercises
- switch-case — Exercises
- while — Exercises
- do-while — Exercises
- for — Exercises
- break — Exercises
- continue — Exercises
Module 3
Arrays & Functions
- Arrays (1-D)
- Arrays (2-D)
- Character arrays and Strings
- Functions: Types of functions
- Formal and Actual arguments
- Parameter passing in functions
- Call by value
- Call by reference
- Passing arrays to functions
- Nested functions
- Recursion
- Arrays (1-D) — Exercises
- Arrays (2-D) — Exercises
- Character Arrays and Strings — Exercises
- Functions: Types of Functions — Exercises
- Formal and Actual Arguments — Exercises
- Parameter Passing in Functions — Exercises
- Call by Value — Exercises
- Call by Reference — Exercises
- Passing Arrays to Functions — Exercises
- Nested Functions — Exercises
- Recursion — Exercises
Module 4
Structure and Union
- Introduction
- Types of storage classes
- Introduction to structures
- Advantages of structures
- Accessing elements of a structure
- Nested structures
- Array of structures
- Functions and structures
- Unions
- Bit-fields
- Enumerated data types
- Introduction — Exercises
- Types of Storage Classes — Exercises
- Introduction to Structures — Exercises
- Advantages of Structures — Exercises
- Accessing Elements of a Structure — Exercises
- Nested Structures — Exercises
- Array of Structures — Exercises
- Functions and Structures — Exercises
- Unions — Exercises
- Bit-fields — Exercises
- Enumerated Data Types — Exercises
Module 5
Pointers & File handling
- Pointers: Idea of pointers
- Defining pointers
- Use of Pointers
- File handling: different modes of opening a file in C
- Reading from files
- Writing from files
- Idea of Pointers — Exercises
- Defining Pointers — Exercises
- Use of Pointers — Exercises
- Different Modes of Opening a File in C — Exercises
- Reading from Files — Exercises
- Writing to Files — Exercises