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

How is the continental crust different from the oceanic crust? A. Continental crust is more dense and contains a lot of basalt. B. Continental crust is thinner
Which of the following is most likely to be observed by a physiologist? A.) ATP is made up of adenine, ribose, and a phosphate chain. B.) Bone is a rigid conn
transfer of heat through the movement of fluid that moves in currents
in human resources the irritation threshold is the
A mandolin string's first harmonic is 392 Hz. How long is the string if the wave speed on it is 329 m/s?
problem solving math
50 is what percent of 550?
The corona sends out a stream of charged particles called
Jake and Lisa walk a rate of 9 kilometers per hour for 1 1/4 hours [5/4 in improper fraction form] and 6 kilometers per hour for 15 minutes. What is their avera
Can someone help ?? :)