Tuesday 12 February 2013

Advantages of Enumeration in c++ Programming



Advantages of Enumeration in c++ Programming

a. With this we can assign more than one constant value to a single user defined name.
b. Internally the values of constant are 0, 1, 2, ... n-1.
c. We can explicitly change the value of constants.
d. Arithmetic operations are possible on enumerated type variables.

0 comments:

Post a Comment

Powered by Blogger.