Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (392.1 KB, 9 trang )
DONG NAI UNIVERSITY OF TECHNOLOGY
Data Structures
&
Algorithms
DONG NAI UNIVERSITY OF TECHNOLOGY
Introduction
DONG NAI UNIVERSITY OF TECHNOLOGY
• What is Data Structures?
– A data structure is defined by
• (1) the logical arrangement of data elements, combined with
• (2) the set of operations we need to access the elements.
DONG NAI UNIVERSITY OF TECHNOLOGY
Atomic Variables
•
•
Atomic variables can only store one value at a time.
int nSum;
float fMark;