IIT Kanpur · Computer Science
Introduction to programming in C
Prof. Satyadev Nandakumar · 2025 · 55 free video lectures
This is a course in programming in C. No prior programming experience is assumed; however, mathematical maturity at the level of a second year science or engineering undergraduate is assumed. We emphasize solving problems using the language, and introduce standard programming techniques like…
▶ Play on Open Lecture HallCourse page ↗
Lectures
- Introduction - The Process of Programming
- GCD Algorithm
- The Programming Cycle
- Tracing a simple program
- Variables
- Operators
- While Loops - I
- While Loop Example
- While Loop Example - GCD
- Longest Increasing Subsequence - I
- Longest Increasing Subsequence - 2
- Longest Increasing Subsequence - 3
- Do-while Loop
- A Matrix Problem - Nested Loops
- For Loops
- A matrix problem using nested for loops
- The break statement
- The continue statement
- continue example - Finding Pythagorean triples
- Data Types in C
- The ASCII code
- C operators and expressions - associativity
- Precedence of C operators
- Expression evaluation, comma operator
- Introduction to functions
- How functions are executed
- Some examples on functions - 1
- Some examples on functions - 2
- Arrays in C
- Initalizing Arrays
- Initializing character arrays
- Pointers in C
- Pointer arithmetic
- Functions with pointer arguments - swap
- Function to copy a subarray into another
- Programming using arrays and pointers
- sizeof operator - how pointer arithmetic works
- Returning pointers from functions
- Example for returning pointers from functions - returning the duplicate of a string
- Recursion - Linear Recursion
- Recursion - Linear Recursion - 2
- Recursion - Two-way Recursion
- Multidimensional Arrays
- Multidimensional Arrays and Pointers
- Multidimensional Arrays and Pointers - 2
- Multidimensional Arrays and Pointers - 3
- File Handling
- Some other file-handling functions
- Structures in C - 1
- Structures in C - 2
- Singly Linked Lists
- Doubly Linked Lists - introduction
- Organizing code into multiple files - 1
- Organizing code in multiple files - 2
- Pre and post increment operators
From NPTEL (IITs and IISc) · CC BY-NC-SA. More from IIT Kanpur.
Open Lecture Hall is free, with no ads and no sign-up. It is not run by or connected to any university; the lectures are the universities' own free recordings, played from where they host them. About & rights