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

I need help please .
Please help me with this question
I need help please.
what impact does studying late roman and medieval humanities have on our lives?
What was a common political factor for U.S.-aligned states in Europe during the Cold War? (1 point) They held free elections. They lived behind the Iron Curtain
Given: arc IP + arc VK = 86° Find: ∠KSP
can i get some help!!???
Pls help thank you very much
Ben and Eva place stickers of animals on a large sheet of paper. Ben places 45 stickers on the paper. This is 5 times the number of stickers Eva places on the
what is the greatest common factor of 30 and 90 A:6B:18C:36D:180 make sure to do the process of elimination, And the answer