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
struct employee e;
union REGS i;
enum maritalstatus m;

Answer:

emplyee e;
REGS i;
maritalstatus m;

 


© 2021 Garbage Valuegarbage value logo