C programming is considered as the base for other programming languages, that is why it is known as mother language. C is a powerful general-purpose programming language. It is fast, portable and available in all platforms.
Argument passing - call by value call by reference - Introduction, Call by value, Call by reference, Call by value vs call by reference. Functions and program structure - User-defined function, Function prototypes, Function with arguments and no return types, Function with arguments and with return types, Function with no arguments and with return types. Location of functions - Location of function. void and parameter less functions - void function, Parameter less functions. Standard functions - Library functions(or) Standard functions, Math functions, Random number functions. Inter function communication - Inter function communication, C implementation. Storage class and scope – Introduction to storage class, Automatic storage class, Register storage class, Static storage class, External storage class, Scope. Type qualifiers - Type qualifiers. Recursion - Recursion, Recursive function. Pre-processor directives - Introduction to preprocessor, Preprocessor commands, File inclusion directives, Macro definition, Conditional compilation directives, Miscellaneous directives, Other commands. Simple C program examples – Display sum in main() function, Recursion using function, Function with no arguments and no return value using prime number.
Pointers and address - Introduction to pointers, Pointer assignment and initialization, Address and de-referencing operators, Precedence of address and de-referencing operators. Address arithmetic - Address arithmetic. Pointers and arrays - Pointers and arrays, Accessing array elements using pointers, Pointer of array. Example Problems- Pointers and arrays examples, Pointers and functions examples, Pointers and structures examples. Dynamic memory allocation methods - Introduction, Allocating memory, Releasing the allocated memory, Allocating memory for derived data, Altering the allocated memory, Why dynamic memory management and how allocate memory dynamically.
Introduction - Introduction to structures, Declaration of structure variable(s), Initialization of structure, Accessing structure members, Structure data type. Structure within a structure - Nested structure. Structure of functions, arrays and pointers - Structures and functions, Passing structure elements to function, Passing an entire structure, Passing pointer to structure, Structure of array, Arrays of structures, structures containing arrays. Union - Introduction to union, Structure Vs Union. Program using structures and unions - Example program for structure, Example program 2 - structure, Example program 3 - structure, Example program for union, Example program for union using typedef keyword.
FILES - Concept of a file, Text files and binary files. Operations on a file - Introduction to file operation, Defining and opening a file, Closing a file. File input / output functions (standard library input / output functions for files) - Input/output operations on files. File status functions (error handling), positioning functions, - File status functions (error handling Positioning functions. Random access to files - Random access to files, Functions for random accessing a file. Pre-processor directives - Introduction to preprocessor, Preprocessor commands, File inclusion directives, Macro definition, Conditional compilation directives, Miscellaneous directives, Other commands.