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

A train brakes from 40 m/s to a stop over a distance of 100m,what is the accleration of train?​
In freefall, heavier objects fall with a greater acceleration than lighter objects.
What roles does the society have to solve the problems? ​
simplify: 14 1/4−12 4/5
Any number that is divisible by 6 is also divisible by 12 a.30 b.48 c.36 d.60
Is tin an element, compound, or mixture? If it is a mixture, is it homogeneous or heterogeneous? How do you know?​
10 N Latitude 30 E Longitude The country directly north
Do you think the Pledge of Allegiance should be banned from schools? Support your answer.
If 3 is added to three quarters of a certain number ,the result is 30 .find the original number.
HELP PLZ 20 POINTS FOR REWARD