0% found this document useful (0 votes)
8 views8 pages

C Programming Unit-Wise Notes

The document provides comprehensive notes on C programming, covering eight units that include features of C, decision making, arrays, searching and sorting algorithms, functions, recursion, structures, and pointers. Each unit outlines key concepts, operations, and examples relevant to the topics. The notes serve as a structured guide for understanding fundamental and advanced C programming techniques.

Uploaded by

navya03052007
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views8 pages

C Programming Unit-Wise Notes

The document provides comprehensive notes on C programming, covering eight units that include features of C, decision making, arrays, searching and sorting algorithms, functions, recursion, structures, and pointers. Each unit outlines key concepts, operations, and examples relevant to the topics. The notes serve as a structured guide for understanding fundamental and advanced C programming techniques.

Uploaded by

navya03052007
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

FULL UNIT-WISE NOTES – C Programming

UNIT 1 – INTRODUCTION TO C

• Features of C: structured, portable, fast, middle-level. • Keywords: 32 total. • Constants & Variables:
integer, float, char. • Data Types: int, float, char, double. • Operators: Arithmetic, Logical, Relational,
Bitwise. • Flow of Execution & Program Structure.
UNIT 2 – DECISION MAKING & LOOPING

• if, if-else, nested if, switch-case. • Loops: for, while, do-while. • Break, continue, goto. • Pattern
programs using nested loops.
UNIT 3 – ARRAYS

• 1-D arrays, initialization, traversal. • 2-D matrices, matrix addition, subtraction, transpose. • Common
operations: largest number, smallest number. • Searching in arrays.
UNIT 4 – SEARCHING & SORTING

• Linear Search: sequential checking. • Binary Search: requires sorted array. • Bubble Sort: adjacent
swaps, O(n²). • Selection Sort: smallest element first. • Insertion Sort: inserts in correct position.
UNIT 5 – FUNCTIONS

• Function declaration, definition, call. • Call by value vs reference. • Passing arrays to functions. •
Scope: local, global variables. • Recursion introduction.
UNIT 6 – RECURSION

• Base case required. • Factorial, Fibonacci recursion. • Recursion vs iteration. • Stack usage during
recursion.
UNIT 7 – STRUCTURES

• User-defined data type. • Structure declaration & initialization. • Array of structures. • Nested
structures. • Difference between structure & union.
UNIT 8 – POINTERS

• Definition: stores memory address. • Pointer arithmetic: p++, p--. • Pointers & arrays relationship. •
Pointer to pointer. • Pointers with functions (call by reference).

You might also like