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

What does Grendel do when he enters Herot?
Why was third tier of goverment created ?
31+7r=-4(2r-7)+3 help please​
Please answer this correctly
Need help for the second question
the sum of 4 consecutive integers is 354
Why is it important for a Support Agent to understand and follow their company’s standardized case lifecycle roadmap? (Select 2)A roadmap provides for efficient
Find the equation of the line using the point-slope formula. Write the final equation using the slope-intercept form. perpendicular to 8y = x − 4 and passes t
according to the diagram shown below, the object is: A. moving at a constant speed B. accelerating to the right C. accelerating to the left D. accelerating
h(n) = 3n-4 g(n)= n3 + 3n? Find (h+g)(n)