C language is well-known programming language because of its qualities. For example, it is Easy to learn and understand, Robust, Efficient, Portable, Ubiquitous, versatile, Compatible and powerful, availability of various standard functions,Well-suited for writing both the system software and business package, its ability to extend itself.
Topics to be Covered in this course
Introduction to the C Language: Background, C Programs, Identifiers, Types, Variables, Constants, Input / Output, Operators(Arithmetic, relational, logical, bitwise etc.), Expressions, Precedence and Associativity, Expression Evaluation, Type conversions, Statements- Selection Statements(making decisions) – if and switch statements, Repetition statements ( loops)-while, for, do-while statements, Loop examples, other statements related to looping – break, continue, goto, Simple C Program examples.
Functions and Arrays–Functions- Definition, Introduction, Function prototype, Function call, Void functions, Pre-processor directives, C standard library functions, Recursive functions, Inline functions. Arrays-Introduction to Arrays, One-dimensional arrays,Three-Dimensional arrays, Multi-Dimensional Arrays, Accessing elements of an array, Swapping elements of Two arrays,Searching an Array,Address of an array,Operations on array elements, Passing an array to a function, Sorting of arrays. C example programs.
Pointers – Introduction (Basic Concepts), Pointers for inter function communication, pointers to pointers, compatibility, Pointer Applications-Arrays and Pointers, Pointer Arithmetic and arrays, Passing an array to a function, memory allocation functions, array of pointers, programming applications, pointers to void, pointers to functions. Strings – Concepts, C Strings, String Input / Output functions, arrays of strings, string manipulation functions, string / data conversion, C program examples.
Structures and Unions—Introduction to Structures, Declaration and Accessing structures and its members, use of type-def in structures, Assignment of Structures, Array of structures, Nested structures, use of typedef in nested structures, structures and pointers,Passing structures through pointers,sorting of structures,functions returning structures,Unions
Working with files-Introduction to files,File I/O, Functions for file access,Functions for file operations,I/O characters and I/O strings and I/O integers for files,formatted I/O of mixed data types for files, direct I/O functions for files,files position indicator, Error handling functions.
Searching and Sorting – Sorting- selection sort, bubble sort, Searching-linear and binary search methods. Lists- Linear list – singly linked list implementation, insertion, deletion and searching operations on linear list, Stacks-Push and Pop Operations, Queues– Enqueue and Dequeue operations.