Syllabus- Important Facts On C
C is a general-purpose, procedural programming language that has been widely used for decades in the development of operating systems, compilers, and embedded systems. Developed by Dennis Ritchie at Bell Labs in the early 1970s, C has had a profound influence on many modern programming languages, including C++, Java, and C#.
Session 2 – Elements of C :
- Identifiers, keywords
- Constants, variables, Data types
- Modifiers, Qualifiers (const, volatile)
Session 4 – Operators
- Arithmetic, Assignment operators
- Increment & Decrement operators
- Relational & Logical operators
- Conditional, sizeof() operator
- Bitwise operators
- Typecast operators
Session 5 – Control statements
- if, if-else, else-if ladder
- goto, switch-case statement
- Loop(while, do-while, for loop)
- Infinite loop, nested while, nested for loop
- break, continue statement
- exit() function
Session 6 – Array
- Array declaration & Initialization
- Types of array
- One dimensional array
- Two dimensional array
- N- dimensional array
- Size of array
Session 7 – Pointer
- Pointer declaration
- Type casting
- Pointer to pointer
- Void/Generic pointer
- Null pointer
- Dereferencing of pointer variable
- String pointer
- Pointer to function
- Function returning pointer
- Array of pointers
- Dynamic memory allocation
Session 8 – String
- Introduction to Strings
- String Declaration and Initialization
- String Length and Capacity
- String Concatenation
- String Comparison
- String Copying
- String Tokenization
- String Search and Replace
- String Formatting
- String handling functions
- getchar(),putchar(),gets() & puts()
Session 9 – Function
- Function Declaration and Definition
- Function Prototypes
- Function Overloading
- Library function
- Types of function
- Types of function call(call by value, call by address)
- Return statement
- Formal and actual arguments
- Function recursion
- Storage classes(auto, register, static, extern)
- Macro
Session 10 – Structure
- Nested structure
- Anonymous structure
- Pointer to structure
- Array of structure
- Structure members as argument
- Union
- Size of array & union
- Bitfield
- Enumeration
- Typedef
Session 11 – File handling
- Introduction to File Handling
- File System Basics
- File Pointer Concepts
- File operations
- Types of files(binary & text)
- Types of modes(read, write & append)
- Opening and closing a file
- End Of File(EOF)
- File handling functions
- Random access to file
Session 12 – Command Line Arguments
- Overview of Command Line Arguments
- Importance and Use Cases
- Syntax for Command Line Input
- Introduction to Command Line Arguments
- Using `argc` and `argv`
- Passing arguments to the main function
- Handling multiple arguments
- Parsing command line input
- Error handling with command line arguments
Session 13 – Graphics
- Introduction to Graphics in C
- Graphics functions in C
- Drawing shapes (lines, circles, rectangles)
- Filling shapes with color
- Animating objects
Session 14 – Networking
- Introduction to Networking Concepts
- Understanding TCP/IP Protocol
- Socket Programming Basics
- Client-Server Communication
- Network Programming with C
Session 15 – Multithreading
- Introduction to Multithreading
- Creating and Managing Threads
- Thread Synchronization
- Inter-Thread Communication
- Handling Thread Safety