What is enumerated data type ?

Questions by Aniket Rawat

Showing Answers 1 - 1 of 1 Answers

Enumerated data type are the variables which can only assume values which have been previously declared. These values can be compared and assigned, but which do not have any particular concrete representation in the computers memory

enum location { east=1, west=2, south=3, north=4};
enum location direction;
direction = east;

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions