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

What comes next? 131,517,?,123
help please! I need this asap!!!!!
how does declaration reflect modern American value?​
In twenieth century u.s history what p[eriofs of relative of relatoive stablity and prosperity have followed times of warfare or civil disorder?
table Camillo is making gourmet peanut butter and jelly sandwiches for a food challenge. What is the unit price of a loaf of bread at each store? Store A: Stor
4. How far does a car travel in 90 seconds if it is traveling at a speed of 55 m/s?
A cable repair person has 8.7 meters of wire. Suppose each meter of the wire weighs 2.8 ounces. Find the weight of the wire.
where is the bios in the soft ware or hard ware
Widget Wonders produces widgets. They have found that the cost, c(x), of making x widgets is a quadratic function in terms of x. The company also discovered tha
Which super continent forms the core of North America?