C Programming – Part 2: Functions, Arrays, Strings, Pointers, Structures and Files
Continue from Part 1: organise programs with functions, store data in arrays, strings and structures, understand pointers, save data in files, and build a complete Student Management System.
- Instructor
- Vidya Pawar, Director, StudyThis
- Level
- Intermediate
- Language
- English
- Lessons
- 41, 20 hr
What you’ll learn
- Organise programs into functions with parameters and return values
- Store and process data in one- and two-dimensional arrays
- Search and sort data, and explain how bubble sort works
- Work with strings and the main string functions
- Understand pointers, addresses, and how functions change variables through them
- Model records with structures and arrays of structures
- Save data to files and read it back
- Build and test a complete Student Management System
About this course
This course continues directly from C Programming – Part 1. In Part 1 you learned variables, input, operators, decisions and loops. In Part 2 you learn how to organise larger programs and store much more data.You will learn functions, parameters and return values; arrays, searching, sorting and two-dimensional arrays; strings and string functions; pointers and how functions use them; structures and arrays of structures; and reading and writing files.
Every hour works like a teacher beside you: what to do, what to type, what output to expect, and why. Every program in the notes has been compiled and run, so the outputs and error messages you see are real. Step by step, the ideas come together in a complete menu-driven Student Management System that adds, displays, searches, sorts, updates, saves and loads student records.
Each hour ends with practice tasks, a mini challenge and a quiz. Pass the final quiz to earn a certificate that anyone can verify online by scanning its QR code. Prerequisite: C Programming – Part 1, or equivalent knowledge.
Course content
Hour 1: Introduction to Functions 2 lessons
- Notes Notes: Introduction to Functions Preview 40 min
- Reading Practice: Your own functions 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 2: Function Parameters 2 lessons
- Notes Notes: Function Parameters 40 min
- Reading Practice: Functions that take values 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 3: Return Values and Scope 2 lessons
- Notes Notes: Return Values and Scope 40 min
- Reading Practice: Functions that return results 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 4: Arrays 2 lessons
- Notes Notes: Arrays 40 min
- Reading Practice: Storing values in arrays 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 5: Array Processing 2 lessons
- Notes Notes: Array Processing 40 min
- Reading Practice: Loops over arrays 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 6: Searching Arrays 2 lessons
- Notes Notes: Searching Arrays 40 min
- Reading Practice: Finding values 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 7: Sorting Arrays 2 lessons
- Notes Notes: Sorting Arrays 40 min
- Reading Practice: Sorting 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 8: Two-Dimensional Arrays 2 lessons
- Notes Notes: Two-Dimensional Arrays 40 min
- Reading Practice: Tables with 2D arrays 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 9: Strings 2 lessons
- Notes Notes: Strings 40 min
- Reading Practice: Working with text 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 10: String Functions 2 lessons
- Notes Notes: String Functions 40 min
- Reading Practice: String library 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 11: Introduction to Pointers 2 lessons
- Notes Notes: Introduction to Pointers 40 min
- Reading Practice: Addresses and pointers 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 12: Pointers and Functions 2 lessons
- Notes Notes: Pointers and Functions 40 min
- Reading Practice: Functions that change variables 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 13: Structures 2 lessons
- Notes Notes: Structures 40 min
- Reading Practice: Records with structures 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 14: Array of Structures 2 lessons
- Notes Notes: Array of Structures 40 min
- Reading Practice: A class of records 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 15: Structures and Functions 2 lessons
- Notes Notes: Structures and Functions 40 min
- Reading Practice: Organising the system into functions 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 16: File Handling: Writing 2 lessons
- Notes Notes: File Handling: Writing 40 min
- Reading Practice: Saving data to files 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 17: File Handling: Reading 2 lessons
- Notes Notes: File Handling: Reading 40 min
- Reading Practice: Reading data from files 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 18: Searching and Sorting Students 2 lessons
- Notes Notes: Searching and Sorting Students 40 min
- Reading Practice: Management operations 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 19: Project Development 2 lessons
- Notes Notes: Project Development 40 min
- Reading Project: Build the system step by step 20 min
- Quiz Unit quiz: pass it to open the next unit
Hour 20: Final Project and Challenge 3 lessons
- Notes Notes: Final Project and Challenge 40 min
- Reading Final project: Your own Student Management System 20 min
- Reading Complete source code
- Quiz Unit quiz: pass it to open the next unit