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

Steve and Karla are studying the text messaging habits of middle school students. They collected data about the number of messages sent daily by students in two
Subtract these polynomials
Can someone help me with questions 20
What is the tone from the poem by Emily Dickinson
what does a computer do with what it receives from the interpreter?
A chain of supermarkets specializing in gourmet food, has been using the average cost method to value its inventory. During the current year, the company change
The standard form of the equation of a parabola is y-2x2 - 8x-13. What is the vertex form of the equation? A. y=-2(x-2)2 -13 B. y=-2(x+2)2 -5 C. y= -2(x+2)2 -13
What is the lowest common multiple of 4 9 12
Someone please help
The Second Amendment states, "the right of the people to keep and bear Arms, shall not be infringed." Infringed means restricted enforced guaranteed violated