Art, asked by mehtapriya0808, 19 days ago

What is the value of THIRD in the following enum: enum example { FIRST=100, SECOND, THIRD, FOURTH };​

Answers

Answered by mannu6949
0

actually the value of third is 300

Answered by biswasmonirujjaman59
0

Answer:

I don't believe there is. But what would you do with such a number if they are not sequential, and you don't already have a list of them somewhere? And if they are sequential but start at a different number, you could always do:

enum blah {

FIRST = 128,

SECOND,

THIRD,

END

};

const int blah_count = END - FIRST

hope this will help mark as brainlist

Similar questions