Professional Documents
Culture Documents
Topic 08
Topic 08
By
Engr. Mohammad Nawaz
nawazmeer@buetk.edu.pk
Lecturer at CSE&S Department
Balochistan UET khuzdar
Data Structure & Algorithms
CLO-1(PLO-1) 2
Previous Lecture Review
• Linear Array
– Declaration of an Array
– Initialization of an Array
– Length of an Array
int data[4]={10,20,30,40};
Elements(values)
• But needs to keep track only the address of the first 104
element of LA, which is denoted by Base(LA)
• Using base address Base(LA), the computer calculates 106
104
110
110