Problem Solving Technique Using C-1-2
Problem Solving Technique Using C-1-2
IV Functions
Functions: Function Definition—prototyping—types of functions—passing
arguments to functions—passing arrays to functions—Passing strings to
functions—Nested Functions. Call by value—Call by reference—Recursive
functions.
Pointers: Declarations—Pointer arithmetic—Pointers and functions—Call by 12
value—Call by reference—Pointers and Arrays—Arrays of Pointers—
Pointers and Structures—Meaning of static and dynamic memory
allocation—Memory allocation functions
Macros: Definition—types of Macros—Creating and implementing user
defined header files.
Structures and Unions 12
Structures and Unions: Declaring and Initializing—Nested structures—Array
of Structures—Passing structures to functions—typedef—enum—Bit fields—
V Command Line arguments—C pre-processor directives
Files: File modes—File functions and File operations—Text and Binary file.
COURSE OUTCOMES:
At the end of Course Students will be,
CO1.1: Overview of C programming language, introduction to software, and programming ideas
including modular and structured programming. Ability to create logic for problems using flowcharts
and algorithms.
CO1.3: Capability to build data types and use them in basic data processing programs using the idea
of arrays, strings, and storage classes CO1.2: Managing input output operations, decision making
structures, branching and looping structures with examples implemented in C programming
CO1.4: Learn about different function kinds, recursive functions, how to implement them with
examples, the idea of pointers, dynamic memory allocation, Capacity to construct functions, analyze
and understand pointer concepts, allocate dynamic memory, and define and use macros
CO1.5: Capacity to specify unions and structures and recognize their variations, as well as user-
defined data types
Text Books:
1. E. Balaguruswamy, “Programming In ANSI C”, 5th edition, TMH Publications, 2011
2. Ashok N. Kamthane, Amit Kamthane, “Programming in C”, Pearson Education,2015
3. Yeshwant Kanetkar, “Let Us C”, 14th Edition, BPB Publications, 2016
Reference Books:
1. Ashok N. Kamthane et. al., “Computer Programming and IT”(for RTU), Pearson Education,
2011
2. Byron Gottfried, “Programming in C”, Schaums’ Outline series, Third Edition, July 2017
3. Herbert Schildt : The Complete Reference -C”,4th Indian Edition, McGraw Hill, 2017
E-Learning Sources:
1. https://www.geeksforgeeks.org/c-programming-language/
2. https://www.youtube.com/watch?v=_MF8L7ZxwRE
3. https://www.upgrad.com/tutorials/software-engineering/c-tutorial/