Basic Topics of C Language
1. Introduction to C Language
• History & Features of C
• Structure of a C Program
• Compile & Run Process
2. Basic Syntax
• Tokens in C (keywords, identifiers, constants, strings, operators)
• Comments
• Input/Output functions (printf, scanf)
3. Data Types & Variables
• Primitive Data Types (int, float, char, double)
• Declaring & Initializing Variables
• Constants (const, #define)
4. Operators in C
• Arithmetic Operators (+, -, *, /, %)
• Relational Operators (==, !=, >, <, >=, <=)
• Logical Operators (&&, ||, !)
• Increment/Decrement (++ --)
• Assignment & Conditional Operator (=, ?:)
5. Control Statements
• if, if-else, nested if
• switch statement
• Loops (for, while, do-while)
• Jump statements (break, continue, goto)
6. Functions in C
• Defining & Calling Functions
• Function Parameters (Call by Value, Call by Reference)
• Recursion
7. Arrays
• One-Dimensional Array
• Multi-Dimensional Array
• Array Operations
8. Strings
• String Basics & Functions (strlen, strcpy, strcmp, etc.)
• String Input/Output
9. Pointers
• Basics of Pointers
• Pointer Arithmetic
• Pointer to Pointer
• Pointers with Arrays & Functions
10. Storage Classes
• auto, static, extern, register
11. Structures & Unions
• Defining & Using Structures
• Nested Structures
• Unions
12. File Handling
• File Input/Output (fopen, fprintf, fscanf, fclose)
• Reading/Writing Files
• File Modes
13. Dynamic Memory Allocation
• malloc(), calloc(), realloc(), free()
14. Preprocessor Directives
• #include, #define, #ifdef, #ifndef