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

Find the length of BC. A) 8 B) 12 C) 16 D) 18
Darwin visited the Galapagos Islands several times. He observed some very unusual species. One species of bird, the finch, interested him. He observed some diff
Why did the physical features of California attract Italian immigrants?
Help me please and I'll ask god to bless you
Stars of which color have the highest surface temperature?
What is the definition of bullying?
2. (10 pt) Which of the following is an example of a chemical change? A. digestion B. chopping wood C. adding food coloring to water D.
In the United States government, "other high Crimes and Misdemeanors" are determined by A) Congressional debate. B) the President's Cabinet. C) a Supreme
Evaluate the formula V= Bh/3 for B = 15 in.2 and h = 28 in.
What term describes the optical trick of swelling columns at midpoint, which was used in the design of the parthenon?