CS8251 PROGRAMMING IN C Notes
CS8251 PROGRAMMING IN C Notes Regulation 2017 Anna University free download. PROGRAMMING IN C CS8251 Notes pdf free download.
UNIT I BASICS OF C PROGRAMMING CS8251 PROGRAMMING IN C Notes
Introduction to programming paradigms – Structure of C program – C programming: Data Types – Storage classes – Constants – Enumeration Constants – Keywords – Operators: Precedence and Associativity – Expressions – Input/Output statements, Assignment statements – Decision making statements – Switch statement – Looping statements – Pre-processor directives – Compilation process
UNIT II ARRAYS AND STRINGS CS8251 PROGRAMMING IN C Notes
Introduction to Arrays: Declaration, Initialization – One dimensional array – Example Program: Computing Mean, Median and Mode – Two dimensional arrays – Example Program: Matrix Operations (Addition, Scaling, Determinant and Transpose) – String operations: length, compare, concatenate, copy – Selection sort, linear and binary search.
UNIT III FUNCTIONS AND POINTERS CS8251 PROGRAMMING IN C Notes
Introduction to functions: Function prototype, function definition, function call, Built-in functions (string functions, math functions) – Recursion – Example Program: Computation of Sine series, Scientific calculator using built-in functions, Binary Search using recursive functions – Pointers – Pointer operators – Pointer arithmetic – Arrays and pointers – Array of pointers – Example Program: Sorting of names – Parameter passing: Pass by value, Pass by reference – Example Program: Swapping of two numbers and changing the value of a variable using pass by reference.
UNIT IV STRUCTURES CS8251 PROGRAMMING IN C Notes
Structure – Nested structures – Pointer and Structures – Array of structures – Example Program using structures and pointers – Self referential structures – Dynamic memory allocation – Singly linked list – typedef.
UNIT V FILE PROCESSING CS8251 Notes
Files – Types of file processing: Sequential access, Random access – Sequential access file – Example Program: Finding average of numbers stored in sequential access file – Random access file – Example Program: Transaction processing using random access files – Command line arguments
|Subject name||PROGRAMMING IN C|
|File details||PDF format in attached|
CS8251 PROGRAMMING IN C Notes Click Here To Download