Question

What are the advantages of creating an enumerated data type?

What are the advantages of creating an enumerated data type?

Homework Answers

Answer #1

ADVANTAGES OF ENUMERATED DATA TYPE :

  • We can create our own datatype and also tell what values that data type can take apart from the conventional data types already known to us such as char, int, float, string, double etc.
  • It provides more readibility to the code.
  • It can be useful in cases where there is a complicated program or when multiple programmers are working on any program.
  • It helps in reducing the errors.
  • It provides more clarity about the usage of the program.
  • The scope of enumerated data type can be either global or local, any of the two.

Please give an upvote if you liked my solution. Thank you :)

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
what is a partially dissolved healthcare system and what are the advantages of this type of...
what is a partially dissolved healthcare system and what are the advantages of this type of system?
What are the advantages and disadvantages of a weak matrix type organization
What are the advantages and disadvantages of a weak matrix type organization
1. For what type of situation should you record a check in QBO? 2. When creating...
1. For what type of situation should you record a check in QBO? 2. When creating a bill in QBO, what liability account is increased?
What is the basic difference between primary and secondary data, and what are the advantages and...
What is the basic difference between primary and secondary data, and what are the advantages and disadvantages of each?
What advantages can be achieved by the attacks using this type of cyber-attacks (DNS poisoning)? Explain.
What advantages can be achieved by the attacks using this type of cyber-attacks (DNS poisoning)? Explain.
Explain what advantages a type of bacteria that produce catalase may have over bacteria that do...
Explain what advantages a type of bacteria that produce catalase may have over bacteria that do not produce catalase?
What is harder creating the data structure you thought of or writing the rules that support...
What is harder creating the data structure you thought of or writing the rules that support it? Give a detailed example.
Compare the Advantages and disadvantages of reed type frequency meters
Compare the Advantages and disadvantages of reed type frequency meters
What type of data is found in the general ledger master file? What type of data...
What type of data is found in the general ledger master file? What type of data is found in the general ledger master file? 2. Accounting Information Systems
what are the advantages and disadvantages of using secondary data to answer a business research question?
what are the advantages and disadvantages of using secondary data to answer a business research question?
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT