Wednesday, 23 January 2019

What is the use of enumerated data type

What is the use of enumerated data type?

Answer:


An enumerated data type is another user defined type which provides a way for attaching names to numbers thereby increasing comprehensibility of the code. The enum keyword automatically enumerates a list of words by assigning them values 0,1,2, and so on.

No comments:

Post a Comment