Unit-1 User-defined Function: [18 Marks]
- Introduction
- Need for User-Defined Functions
- Arguments and Return Types
- Classifications of functions using arguments and return types
- Nesting of Functions
- Recursion
- Functions with Arrays
- The Scope and Lifetime of Variables in Functions.
Unit-2 Structures & Unions: [17 Marks]
- Introduction
- Defining a Structure
- Giving Values to Members
- Structure Initialization
- Copying and Comparison of Structure Variables
- Arrays of Structures
- Arrays Within Structures
- Structures Within Structures
- Structures and Functions
- Unions
- Size of Structures
- Bit Fields.
Unit-3 Pointers: [18 Marks]
- Introduction
- Understanding Pointers
- Advantages of Using Pointers
- Accessing the Address of a Variable
- Declaring and Initializing Pointers
- Accessing a Variable Through a Pointer
- Pointer Expressions
- Pointer Increments and Scale Factor
- Pointers and Arrays
- Pointers and Character Strings
- Pointers and Functions
- Pointers and Structures.
- Dynamic Memory Allocation and Linked List:
- Introduction Dynamic Memory Allocation
- Memory Allocation Functions (malloc, calloc).
Unit-4 File Management in C: [17 Marks]
- Introduction
- Creating and Opening a File
- Closing a File
- Input/Output Operations on Files
- Error Handling During I/O Operations
- Random Access Files and Command Line Arguments.
The Preprocessors:
- Introduction
- Types of Preprocessor Directives.
- Macro: Introduction
- Format of Macro
- Simple Macro Substitution
- Argument Macro Substitution
- Nested Macro Substitution
- File Inclusion
- Compiler Control Directives.