Ask Question
3 December, 11:35

Before a structure can be used, it must be

A.

declared

B.

deallocated

C.

initialized

D.

All of the above

+4
Answers (1)
  1. 3 December, 13:24
    0
    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.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Before a structure can be used, it must be A. declared B. deallocated C. initialized D. All of the above ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers