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

Help me please, clandestine means.. 1. a sudden attack 2. one who bothers; to bother 3. take in as one s own 4. marked by or done in secret; stealthy
how do you solve radical and division to this problemand siplifyradical 15/4   15 over 4
Solve each system of equations. 6x + 5y = 10 7x - 3y = 24
Jack had 50 sweets he dropped 6 and gave away 4 and cut 7 in half how many did he have?
Tim is twice as old as his son. In six years, Tim s age will be three times what his son s age was six years ago. How old is tim s son now?
how do you convert 0.125 into a ratio
Is "please have a seat" a complete sentence?
What's protein synthesis?
Solve by completing the square x^2-2x-5=0
If you are paid an hourly wage of $9.00, determine an equation for finding your weekly gross pay (P) for t hours. Specify an amount between 25 and 40 hours work