132
Page views
0
Files
0
Videos
0
R.Links

Icon
Syllabus

UNIT
1
Basics of C

Overview of C: History of C–Importance of C–Basic Structures of C Programs–Programming Style – Executing a ‘C’ Program . Constants, Variables and Datatypes: Introduction - Character set - C tokens - keyword & Identifiers - Constants -Variables - Data types - Declaration of variables – Declaration of Storage class - Assigning values to variables .

UNIT
2
Operators and Expressions

Operators and Expressions: Arithmetic, Relational, Logical, Assignment,Increment and Decrement, Conditional, Bitwise, Special operators - Arithmetic Expressions - Evaluation of expression - Mathematical functions. Decision Makingand Branching: Introduction - if, if...else, nesting of if...else statements - elseif ladder - The switch statement- The goto Statement.

UNIT
3
Decision Making and Looping

Decision Making and Looping: Introduction- the while statement- the dostatement – the for statement - Jumps in loops. One Dimensional Arrays – Two Dimensional Arrays - Multi dimensional array. Character Arrays and Strings: Declaring & Initializing string variables- Reading String from terminal –Writing Strings from to screen –String Handling functions.

UNIT
4
UNIT 4 User-Defined Functions

User-Defined Functions: Introduction–Need for user-defined functions- Elementsof User-Defined Functions- Definition of function -Return Values and their types - Function Calls-Function Declaration - Category of Functions- No arguments and no return values – Arguments but no return values – Arguments with return values – No arguments but return values - Nesting of Functions - Recursion - The Scope, Visibility and Lifetime of Variables . Structures and Unions: Defining and declaring structure variables – Accessing structure members - structure Initialization - Structures within structures - Unions – Size of Structures - Bit Fields.

UNIT
5
UNIT 5 Pointers and Files

Pointers: Introduction - Understanding pointers-Accessing the address of a variable -Declaration and Initialization of pointer Variable - Accessing a variable through its pointer - Chain of pointers - Pointer Expressions - Pointers and Arrays- Pointers and Strings - Array of pointers - Pointers as Function Arguments - Functions returning pointers - Pointers to Functions - Pointers and Structures. FileManagement in C: Defining, Opening and closing a file–Input /Output Operations onfiles - Errors handling during I/O Operations – Random Access to files – Command line arguments.

Reference Book:

Reference Book: 1. Ashok N Kamthane, “Programming with ANSI and Turbo C”, PearsonEdition Publ, 2002. 2. Henry Mullish & Huubert L.Cooper, “The Sprit of C”, Jaico Pub. House,1996.

Text Book:

Text Book: 1. E Balagurusamy, “Programming in ANSI C”, Tata McGraw-Hill, Fourth Edition 2008.

 

Print    Download