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

Where are the niagara falls located?
The measure of an objects mass and velocity is called what
true or false? phosphate is released as rocks and sediments wear down
how did the hellenistic culture differ from the earlier greek culture
To prevent one branch from taking too much power, the Constitutional Convention set up a system of checks and balances executive branches national courts
where was Jennifer Collier born?
How do I solve _+ _+ _ = 30 using 1,3,5,7,9,11,13,15 and 17?
What is the theme in mallam sile
During the winter of 2009, you contracted the influenza A (H1N1) virus, or swine flu. Which type of cell would recognize the virus, and what would be the cell's
What's the best analogy for mother : mater ::