DS Demo Programs - Module 1

Data structure Fundamentals

Home > Courses > DS > Demo M1


Warning! You are warned against blindly copying the code statements. Read the code and understand the implementation. Then, try to do it yourself. Blindly re-typing the code statements is a waste of time & effort.

Table of contents:

1.1 Concept of call-by-reference using pointer

1.2 Nested structure, structure & functions

1.3 Pointer to another pointer variable

1.4 Concept of call-by-value & call-by-reference for structures

1.5 Array of structures

1.6 Dynamic memory allocation: Prg 1

1.7 Dynamic memory allocation: Prg 2

1.8 Dynamic memory allocation: Prg 3: Structure

1.9 Dynamic memory allocation: Prg 4 : Linear search

1.10 Self referential structures - Connecting 2 nodes