C Which of the following enumerated data type declarations a

C++: Which of the following enumerated data type declarations are syntactically correct? Select all that apply. Please support the answer with an explanation.

Which of the following enumerated data type declarations are syntactically correct? Select all that apply. Answers: enum (TAZ, TWEETY, BUGS-5, DAFFY, SYLVESTER); enum LoonyTunes [BUGS, DAFFY, TAZ, TWEETY, PORKY), enum LoonyTunes {BUGS-2, PORKY-4, TAZ=6, SYLVESTER-8, ELMER-10); enum BUGS, DAFFY, TAZ, TWEETY, SYLVESTER) am LoonyrumasPt TAR, THEETY, S

Solution

all are valid

C++: Which of the following enumerated data type declarations are syntactically correct? Select all that apply. Please support the answer with an explanation. W

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site