Module 1
Introduction to C: The C character set – identifiers and keywords – data types – user defined data types – constants and variables – declarations – operators – expressions – statements – library input-output functions
Control statements: if, if-else, switch, goto statements – conditional and comma operators.
Module 2
Iterative statements: ‘while’, ‘do-while’, ‘for’ statements – nested loops, break and continue statements.
Functions: Declarations, definition and access – passing arguments to a function – pass by value and pass by reference – recursion.
Storage classes: automatic variables – external variables – register variables – scope and life time of variables.
Module 3
Arrays: single dimensional arrays – multidimensional arrays – definition – initializing arrays- passing arrays to a function – matrix operations – addition, transpose and multiplication.
Strings: Definition – string handling functions – comparison, concatenation and sorting of strings.
Module 4
Pointers: Introduction – pointer declaration – operations on pointers.
Files: File pointers – data files: opening and closing – reading and writing.
Module 5
Structures and union: definition – initialization – accessing structure members – array of structures – passing structure to a function – sorting of structures – binary files – reading and writing of data blocks – union.
Dynamic memory allocation – self referential structures – basic concepts of linked lists – adding and deleting nodes – command line arguments – macros – C preprocessor.
References
Theory and Problems of Programming with C: B.S. Gotterfield, TMH
Programming in ANSI C: Balaguruswamy, TMH
Programming with ANSI & Turbo C: Ashok Kamthane, Pearson Education Asia
The Spirit of C, An Introduction to modern programming: Mullish & Cooper, Jaico Publishing Co.
Programming in C: Stephen G. Kochan, CBS Publ.
Computer Programming in C: V. Rajaraman, PHI EEE
The Official Borland Turbo C Survival Guide: Miller & Quilci, Wiley Eastern
Programming Techniques through C: M. G Venkateshmurthy, Pearson Education
Let us C: Yashwant Kanetkar, BPB publ.
mg university B.tech Syllabus S3 Electrical and Electronics EEE