| Introduction to C |
Control Statements – I |
Control Statements – II |
• C history
• Data types
• Format specifiers
• Operators |
• Selection – if ,if – else,
• Nested if - else
• Switch - case |
• Need of Iteration • Various methods of looping – while, do – while , for loop • Nested loops • Continue, break statements • Jump statements
|
| Preprocessor |
Functions |
Storage Classes |
• Manifest constants - # define
• Using arguments with #define
• File Inclusion - #include
• Other Diresctives - #undef, #ifdef, #else, #endif, #ifndef, #pragma |
• Basics of functions
• Pass by value
• Pointer – A first look
• Pass by address
• Calling Conventions
• Recursion |
• Need of storage class
• Different storage class specifiers – auto, static, register, extern
• ANSI C type qualifiers – const,volatile |
| Arrays |
Pointers |
Strings |
• Single dimensional arrays
• Arrays and pointers
• Pointer arithmetic
• Arrays and functions
• Sorting techniques – Selection, Bubble, Insertion
• Multidimensional Arrays
|
• Pointers and Multidimensional arrays
• Variable length arrays
• Dynamic memory allocation - malloc, realloc, free
• Function pointers |
• Representing strings
• String related I/ O functions
• Using string manipulation functions
• String to number conversions
• Two dimensional array of strings |
| Structures and other Data Forms |
File I / O |
Bit Fiddling |
• Declaring structure and its variables
• Arrays of structures
• Nested structures
• Passing structure to function
• Unions
• Enumerated types
• typedef
|
• Standard I /O
• Command line arguments
• File I /O – fprintf, fscanf, fputs, fgets
• Random Access – fseek, ftell
• Text vs Binary mode
• Other functions – fread, fwrite, rewind, feof |
• Binary numbers, bits and bytes
• Other number bases
• C's bitwise operators
• Bit Fields |