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

Please help with this, will give brainliest.
anyone wanna ta.lk to me bc i bo..red
female male or other
Given f(x) = 3 and g(x) = cos(x). What is Limit of left-bracket f (x) minus g (x) right-bracket as x approaches negative pi?
Lee el párrafo y escoge la mejor respuesta. Read the excerpt and choose the best rеѕроnѕе. La pintura Guernica (1937) por Pablo Picasso, el padre del movimiento
a form of government in which its citizens vote its leader. For Rome
Answer this questions please due in 5 min
PLZ HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!True or false: If an injury occurs in the lumbar region of the spinal column, loss of sensation can occur in all 4 lim
What is the solution to this system of equations? 3x+2y=−10 y=−x−4 Possible Answers -2, -2 -2, 2 -18, 14 no solution
sorry, heres the question with the actual picture