Sign up for FlowVella
Sign up with FacebookAlready have an account? Sign in now
By registering you are agreeing to our
Terms of Service
Loading Flow
Understanding Structs
The struct keyword is used for creating a structure. It helps you to make a single variable hold related data of various data types.
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 Subject
Author Book ID