- #include, main(), cout, cin, return
- Data types: int, float, char, bool
- if-else, switch, ternary
- for, while, do-while
- Arithmetic, logical, relational, assignment ops
- Practice: Number patterns, sum of digits
- 1D arrays, basic string handling (char[], string)
- Loops with arrays
- Practice: Reverse array, frequency count
- Function declaration & definition
- Call by value & reference
- Practice: Prime check, factorial, swap
- *, &, ->, nullptr
- Array and pointer relation
- Practice: Pointer swap, pointer arithmetic
6
Structures & User-Defined Data
- struct, nested struct
- typedef, enum
- Practice: Student records, employee data
- class, object, public/private
- Member functions, constructors
- Practice: Bank account, rectangle class
8
Inheritance & Polymorphism
- public, protected inheritance
- Function overriding, virtual functions
- Practice: Shape base class, derived triangle/circle
- File read/write (fstream, ifstream, ofstream)
- Practice: Write & read student marks to file
- Vectors, Sets, Maps, Iterators
- Practice: Frequency counter with map
- Revise past programs