COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button
C++ LANGUAGE STRUCTURE
STRUCTURE
C/C++ arrays allow you to define variables that combine several
data items of the same kind, but structure is another user defined
data type which allows you to combine data items of different kinds.
Structures are used to represent a record, suppose you want to keep
track of your books in a library. You might want to track the
following attributes about each book:
• Title
• Author
• Subject
• Book ID
No comments:
Post a Comment