# Programming in C

Course Code:CS8251

Author:uLektz

University:

Regulation:2017

Categories:Computer Science

Format : ePUB3 (DRM Protected)

Type :eBook

FREE

Description :Programming in C of CS8251 covers the latest syllabus prescribed by Anna University, Tamil Nadu for regulation 2017. Author: uLektz, Published by uLektz Learning Solutions Private Limited.

Note : No printed book. Only ebook. Access eBook using uLektz apps for Android, iOS and Windows Desktop PC.

##### Topics
###### UNIT I BASICS OF C PROGRAMMING

1.1 Introduction to Programming Paradigms, Structure of C Program

1.2 C programming: Data Types, Storage Classes, Constants, Enumeration Constants, Keywords

1.3 Operators: Precedence and Associativity - Expressions

1.4 Input/Output Statements, Assignment Statements, Decision Making Statements, Switch Statement, Looping Statements

1.5 Pre-processor Directives

1.6 Compilation Process

###### UNIT II ARRAYS AND STRINGS

2.1 Introduction to Arrays: Declaration, Initialization

2.2 One Dimensional Array, Example Program: Computing Mean, Median and Mode

2.3 Two Dimensional Arrays, Example Program: Matrix Operations (Addition, Scaling, Determinant and Transpose)

2.4 String Operations: Length, Compare, Concatenate, Copy, Selection Sort

2.5 Linear and Binary Search

###### UNIT III FUNCTIONS AND POINTERS

3.1 Introduction to Functions: Function Prototype, Function Definition, Function Call

3.2 Built-in Functions (String Functions, Math Functions)

3.3 Recursion, Example Program: Computation of Sine Series

3.4 Scientific Calculator using Built-in Functions, Binary Search using Recursive Functions

3.5 Pointers - Pointer Operators - Pointer Arithmetic, Arrays and Pointers, Array of Pointers

3.6 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

4.1 Structure, Nested Structures - Pointer and Structures, Array of Structures, Example Program using Structures and Pointers

4.2 Self Referential Structures, Dynamic Memory Allocation, Singly Linked List

4.3 Type def

###### UNIT V FILE PROCESSING

5.1 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

5.2 Command Line Arguments