287x Filetype PDF File size 0.38 MB Source: intranet.cb.amrita.edu
3.3 Structures
1 Department of CSE
Objectives
• To give an introduction to Structures
• To clearly distinguish between Structures from Arrays
• To explain the scenarios which require Structures
• To illustrate the syntax and usage of Structures with examples
• To „simplify‟ Complex Structures
2 Department of CSE
Agenda
• Recap on Arrays
• Introduction
• Arrays vs. Structures
• Structures in detail
• Complex Structures
3 Department of CSE
Recap on Arrays
• Recap : What is an Array ?
• A contiguously stored set of memory locations to be used to store
elements having the same data type.
• Example:
Image Credits - http://hubpages.com/technology/Array-in-C-programming--Programmers-view
4 Department of CSE
no reviews yet
Please Login to review.