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

In paragraph 5, the word intricately means
Please Help I will reward brainliest
In “The Cabuliwallah,” how does Mini respond at first to the Cabuliwallah? a. She squeals with delight. b. She flees in fear. c. She is surprised by his offer o
All of the following are true about prescription medications except: A. prescription medications can only be given by a physician B. prescription medications
Many Japanese make a very good living through farming. True or False
which chinese philosophy formed the basis for koreas government during the tang dynasty
what protects bones from hitting each other?
What is the meaning of life
CAN SOMEONE PLEASE HELP ME!!? I NEED HELP PLEASE!!
What is the skeleton of an embryo mainly composed of?