Introduction To C Programming Reema Thareja -

Have you used Reema Thareja’s book? What was your favorite chapter? Let me know in the comments!

#include <stdio.h> int main() int a = 5, b = 10, temp; introduction to c programming reema thareja

printf("Before swap: a = %d, b = %d\n", a, b); Have you used Reema Thareja’s book

| Chapter | Topic | What You’ll Build | |---------|-------|--------------------| | 1-2 | Basics of C, Tokens, Variables, Data Types | A simple “Hello, World!” and a calculator | | 3 | Operators and Expressions | Temperature converter, area of shapes | | 4 | Decision Control (if, switch) | Grade calculator, even/odd checker | | 5 | Loop Control (for, while, do-while) | Multiplication table, sum of N numbers | | 6 | Arrays (1D & 2D) | Student marks list, matrix addition | | 7 | Strings | Palindrome checker, name sorter | | 8 | Functions (Call by value/reference) | Reusable math utilities | | 9 | Pointers (The tough one) | Swap two numbers, pointer arithmetic | | 10 | Structures & Unions | Student record system, employee database | | 11 | File Handling | Save/load data to a text file | Thareja’s style is direct and practical. Here’s a typical example you’d find (using a temporary variable): #include &lt;stdio

Back
Top