Back close

Course Detail

Course Name Programming in C
Course Code 18CSA113
Program B. C. A. (Bachelor of Computer Applications), B. C. A. (Bachelor of Computer Applications), B. C. A. (Bachelor of Computer Applications)
Semester Two
Credits Four
Year Taught 2018
Degree Undergraduate (UG)
Campus Kochi, Mysuru, Amritapuri

Syllabus

Unit 1

Introduction to C language – structure of ‘C’ program, Programming elements(tokens) –Classes of data types –Declaration of variables, assigning values to variables, defining symbolic constants, escape sequences (backslash character constants), Operators–operator precedence and associativity, Expressions – Evaluation of expressions, type conversions(type casting).

Unit 2

Input and Output operations – formatted and unformatted input and output–Conversion specifiers- Conditional and Control structures

Unit 3

Arrays – single dimensional arrays – declaration –memory representation– initialization and access. 2D arrays and multidimensional arrays. Strings – defining strings, initializing, accessing, character handling functions, arithmetic operations on characters, character by character input and output, string handling functions, array of strings and its features. Pointers –Introduction, declaring and initializing pointer variables, pointer expressions, pointers and arrays, pointers and strings, array of pointers.

Unit 4

Functions – definition-declaration-prototypes and function call- actual and formal arguments-types of functions- call by value-call by reference-nesting of functions-recursive functions-pointers to functions-storage class specifiers. Enumerated data types- Preprocessor directives – Macros – File inclusion, Command line arguments.

Unit 5

Structures – definition-declaration-initialization-accessing structures- array of structures, array within structures, structures within structures, self-referential structures, pointers to structures, uses of structures. Union- definition- union of structures. Files – Reading and writing files – file handling functions – file opening modes – file operations

Text Books

Text Book

  1. “Let us C”, YashavantKanetkar, 13th Edition, BPB Publications.
  2. “Programming in ANSI C”, E. Balagurusamy, Sixth Edition, Tata McGraw-Hill Publishing Company Limited.

References

  1. “Test your C skills”, YashavantKanetkar,
  2. “Exploring C”, YashavantKanetkar,

DISCLAIMER: The appearance of external links on this web site does not constitute endorsement by the School of Biotechnology/Amrita Vishwa Vidyapeetham or the information, products or services contained therein. For other than authorized activities, the Amrita Vishwa Vidyapeetham does not exercise any editorial control over the information you may find at these locations. These links are provided consistent with the stated purpose of this web site.

Admissions Apply Now