alexhayy41641 alexhayy41641
  • 24-08-2019
  • Computers and Technology
contestada

Look at the following structure declaration.

struct Employee

{

string name;

int idNum;

};

In this declaration, Employee is

A.
a member

B.
a tag

C.
an array

D.
None of the above

Respuesta :

Branta Branta
  • 25-08-2019

Answer:

B. a tag

Explanation:

In the structure definition given below:

struct Employee

{

string name;

int idNum;  

};

Employee corresponds to the tag of the structure. The tag is used to create additional instances of the structure. For example:

struct Employee e1;

struct Employee e2;

name and idNum are members of the Employee structure and are referenced using the dot notation. e.g.,

struct Employee e1;

e1.idNum=1;

Answer Link

Otras preguntas

URGENT PLEASE HELP ME
Subtract 1/5 from 4/5.
Considering the CIA triad and the Parkerian hexad, what are the advantages and disadvantages of each model?
What are examples of Manufacturing careers? Select three options. Engine Assembler Airline Pilot Computer Repairer Automotive Specialty Technician Electrical Po
b. Can a cycle like this be changed once it starts?
Classifying If you take a helium balloon from inside a warm house to outside on a snowy day, what will happen to the balloon? Could you classify this change as
i rlly need help, pleaseee
What is the following product? Assume 12. 3/10 (v2/4 + Voy) o 512 V10+12V5V O 6V 10+ 12.15 o 612 „10+4.15 o 312 V10+12/5
what is the magnitude in the richer scale of an earthquake that released in 10¹⁶ joules of energy​
Which two lines are parallel? I. sy--3-5 II. sy--1-34 III. 3y - 2x -- aI and II. b. I and III. C. II. and III. d. No two of the lines are parallel.