100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

(C - Structures)

Rating
-
Sold
-
Pages
7
Uploaded on
29-01-2023
Written in
2022/2023

The slides that follow present a basic introduction to C - structures that we will need in order to understand fundamental data structures. • Arrays allow us to define types of variables that can hold several data items of the same kind. • In contrast, structure is an example of user defined data type available in C that allows us to combine data items of different kinds. • Structures are used to represent a record. Suppose we want to keep track of our books in a library. We might want to track the following attributes about each book: • Title • Author • Subject • Book ID • We can define a structure to represent this information.

Show more Read less
Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
January 29, 2023
Number of pages
7
Written in
2022/2023
Type
Class notes
Professor(s)
James a. okello
Contains
All classes

Content preview

Data Structures and
Algorithms
(C - Structures)
UKZN – Howard College Campus
ENEL2DS H2 - 2016

, Introduction
• The slides that follow present a basic introduction to C - structures that we wi
need in order to understand fundamental data structures.
• Arrays allow us to define types of variables that can hold several data items of
same kind.
• In contrast, structure is an example of user defined data type available in C th
allows us to combine data items of different kinds.
• Structures are used to represent a record. Suppose we want to keep track of o
books in a library. We might want to track the following attributes about each
book:
• Title
• Author
• Subject
• Book ID
• We can define a structure to represent this information.
$10.30
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
mthimkhuluramasimong

Get to know the seller

Seller avatar
mthimkhuluramasimong University of KwaZulu-Natal
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
3 year
Number of followers
1
Documents
33
Last sold
3 year ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions