INTRODUCTION TO COMPUTER SYSTEMS AND ENVIRONMENT
INTRODUCTION TO STRUCTURE As we know that Array is collection of the elements of same type , but many time we have to store the elements of the different data types. Suppose Student record is to be stored, then for storing the record we have to group together all the information such as Roll, name, Percent which may be of different data types. Ideally Structure is collection of different variables under single name. Basically Structure is for storing the complicated data. A structure is a convenient way of grouping several pieces of related information together. Definition of Structure in C Structure is composition of the different variables of different data types, grouped under same name.
Written for
Document information
- Uploaded on
- April 17, 2022
- Number of pages
- 22
- Written in
- 2021/2022
- Type
- Class notes
- Professor(s)
- Daphney johnson
- Contains
- All classes
Subjects
- structures and unions
-
c
-
c
-
introduction to computer systems
Document also available in package deal