· To acquaint the students with concepts of structured programming.
· To familiarize the students with basic concepts of C Programming and developer tools.
To enable the students to implement programming concepts in C language.
Language Elements, Algorithms and Flowcharts, History, Execution of C Program, Constants, Variables and Keywords, Data types, Expressions, constants, variables, Operators, Operator Precedence and associativity, data input and output, Formatted Console I/O Functions, Conversion Specifications, assignment statements, conditional statements, Looping Statements, Storage Classes
Introduction to Function, Functions with Simple Output Parameters, Passing Values between Functions, Multiple Calls to a Function, Introduction to Pointers, Parameter Passing by Value v/s Parameter Passing by Reference, Recursion and stack
Arrays: Declaring and Referencing Arrays, Array Subscripts, Using for Loops for Sequential Access, Multidimensional Arrays, Passing arrays as arguments
Structures & Unions- definition, Processing structures – Passing structures to a function. Pointers: Operations on Pointers – Pointers to Functions, Functions Returning Pointers, Arrays of pointers, Pointers to structures and Array of structures
|
String Functions, Two dimensional Array of Characters, Character Operations, Pointers and Strings, Array of Pointers to Strings
Features of C Pre-processor, Macros, File Inclusion, Conditional Compilation, Header Files, Implementation Files, Macros, File Operations, File opening modes, Text files and Binary files, argc v/s argv, Operations on Bits, Typecasting, Bit Fields
|
E.Balaguruswamy, “Programming in ANSI C”, Tata McGraw Hill, 6th edition, 2012.
Kernighan and Ritchie, “The C Programming Language”, Prentice Hall, 1988.