Catlover237 Catlover237
  • 23-08-2019
  • Computers and Technology
contestada

Before a structure can be used, it must be

A.
declared

B.
deallocated

C.
initialized

D.
All of the above

Respuesta :

Branta Branta
  • 26-08-2019

Answer:

A. declared

Explanation:

Before a structure can be used, it must be  declared.

For example:

// Structure definition

struct s{

int a;

char b;

};

// Structure instantiation

struct s  mystruct;

// This is where a structure instance called mystruct is created whose

// datatype is struct s.

mystruct.a = 10;

mystruct.b = 'c';

As we can see from the example definition precedes use for the structure.

Answer Link

Otras preguntas

in the given figure , if PQ ll RS , angle TRS = 105 and angle RTP = 30 , then the value of x is
what is the difference between a moth and a butterfly?
In the thermal decomposition of copper carbonate, the black solid left behind weights less than the original copper carbonate . Why?
what is quicksand? how does it work?
what are the different types of gorilla?
13. Sound waves can't travel through A. a solid. B. a liquid. C. an elastic material. D. a vacuum.
16. The spreading of sound waves around openings in barriers is called A. reverberation. B. an echo. C. diffraction. D. refraction.
why does alaska have really long days during some times of the year and really short days during other times?
How do you multiply 5/12 times 2/9?
what is a xylophone? need help pls