Chapter - 3: Graduating to C++

If the employee is a structure, REGS is a union and maritalstatus is an enum then does there exist any other way in which the following definition can be made:


D
Sections
2
Exercises

A

B

C

D

1

2

3

4

5

6

7

8

9

10

struct employee e;
union REGS i;
enum maritalstatus m;

Answer:

emplyee e;
REGS i;
maritalstatus m;

 


© 2020 Garbage Valuegarbage value logo