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

Disregard. Posted in error.
Lynda regularly works a 40-hour work week and earns $16.00 per hour. She receives time-and-a-half pay for each hour of overtime she works. Last week she worked
How many lbs are in 5 kilograms
Saying words with meaning as if you were speaking them is called phrasing. Please select the best answer from the choices provided OT
Put the following equation of a line into slope-intercept form, simplifying all fractions. 8x + 10y = 70
What two responses were immediately debated? naval quarantine, diplomacy o invasion, naval quarantine o invasion, nuclear strike DONE
what helped the romans gain victory punic wars
HI PLEASE HELP AH - ill mark brainliest ! if you flip three coins, the probability of getting three heads is 1/8. Interpret this probability.
Please and thank you
PLZZZ HELP ME 20pts FOR YOU!!!!!! question 1. Describe and explain the role that the Loyalists played in the Siege of Savannah. question 2. Describe and explain