aliyahmorgan654 aliyahmorgan654
  • 03-08-2019
  • Computers and Technology
contestada

Assume that the type NAME has already been defined. Define a new type, SREC that is a structure consisting of two fields: name (a NAME) and grade (a string).

Respuesta :

ofentsemaphalla
ofentsemaphalla ofentsemaphalla
  • 06-08-2019

Answer:

struct SREC

{

       NAME name;

       string grade;

};

Explanation:

The first line declares a new data type, a structure, of name SREC. The open and close braces, are used to contain other data fields or members, namely: name and grade variables.

The NAME has already been defined, hence there is no declaration method in the SREC structure.

Answer Link

Otras preguntas

when did virchow say that all cells come from preexisting cells?
why was it necessary to cooperate with people for unification​
in a parking lot with 250 parking spaces 40% how many of them are vacant and occupied
una maquina produce 88 estampillas por hora ¿cuantas estampillas produce en 8 horas?
x+y+z+11=v solve for z
Technician A says that forma hardened steel may have different strenght áreas. Technician B says that aluminum collapses in a predictable way. Who is right
you can eliminate negative parts of your credit score by closing accounts that are overdue. true or false?
what is the interaction between the banker and lawyer in the story? Why is this interaction important?​
5A) Lines x and y are parallel. Write an equation that represents the relationship between band e.
I’m gong to be having a good time if somebody finds the answer to this