PROGRAMMING IN ‘C’

Paper Code: 
CSC 211
Credits: 
03
Periods/week: 
03
Max. Marks: 
100.00
Objective: 

This module is designed to strengthen the programming concepts of students through ‘C’ programming language.

9.00

Revision of C Basics.

C Arrays: Declaring Arrays, Passing Arrays to Functions, Sorting arrays (Bubble Sort), Searching (Linear, Binary Search), Multiple-Subscripted Arrays.

9.00

C Functions: Introduction, Program Modules in C, Math Library Functions, Functions, Functions Definitions, Function Prototypes, Header Files, Calling Functions: Call by Value and Call by reference, Storage Classes, Scope rules, Recursion, Recursion vs. Iteration.

9.00

C Pointers: Introduction, Pointer variable declaration and initialization, Pointer operators, Calling functions by reference, Const qualifier, Pointer Expressions and pointer arithmetic, Relationship between pointers and Arrays, Arrays of Pointers.

9.00

C characters and Strings: Introduction, Fundamentals of Strings and characters, Character and String Handling Library, String conversions and comparison functions.

Structures & unions.

9.00

Bit Manipulations and Enumerations: typedef, Bit Fields, Enumerated Constants.  C   Preprocessor, Macros.

C File Processing: Files and streams, types of files, Sequential access files (Creation, Reading and Writing).

ESSENTIAL READINGS: 
  1. H.M.Deitel & P.J.Deitel, “How to program in ‘C’”, 5rd Edition, Pearson Education,    2001.
  2. S. Lipschutz, “C Programming”, Schaum’s outline series, Tata McGraw Hill Edition.
REFERENCES: 
  1. B.Kernighan & D.Ritchie “C Programming Language”, 2nd Edition, Prentice-Hall, 1988.
  2. E. Balagurusami, “Programming in ‘ANSI C’”, TMH Publications.
  3. Yashwant Kanetkar, “Working with C”, BPB Publications.
Academic Year: